Function at 0x4035e0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431528
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x44606c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x54], ebx
mov edx, dword [ebx]
test edx, edx
jne 0x40362f
push 0xc2
push str.e:_vcdll
push str.m_hSession___NULL
call fcn.0041cd2d
mov edx, dword [ebx]
add esp, 0xc
cmp dword [ebx + 0x20], 0x10
lea ecx, [ebx + 0xc]
jb 0x40363a
mov ecx, dword [ecx]
movzx eax, word [ebx + 0x58]
push 0
push 0
push 3
push 0
push 0
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, eax
mov dword [ebx + 4], edx
test edx, edx
jne 0x403675
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetConnectA._n
call fcn.004013b0
add esp, 8
xor eax, eax
jmp 0x403aa9
mov eax, dword [ebx + 0xd8]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
je 0x40370a
cmp dword [ebx + 0xf0], 0
je 0x40370a
cmp dword [ebx + 0xdc], 0x10
lea ecx, [ebx + 0xc8]
jb 0x4036a3
mov ecx, dword [ecx]
inc eax
push eax
push ecx
push 0x1c
push edx
call esi
test eax, eax
jne 0x4036ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetSetOptionA._INTERNET_OPTION_USERNAME__n
call fcn.004013b0
add esp, 8
xor eax, eax
jmp 0x403aa9
cmp dword [ebx + 0xf4], 0x10
lea ecx, [ebx + 0xe0]
mov eax, dword [ebx + 0xf0]
jb 0x4036e1
mov ecx, dword [ecx]
inc eax
push eax
push ecx
push 0x1d
push dword [ebx + 4]
call esi
test eax, eax
jne 0x40370a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetSetOptionA._INTERNET_OPTION_PASSWORD__n
call fcn.004013b0
add esp, 8
xor eax, eax
jmp 0x403aa9
cmp dword [ebx + 0x90], 0
je 0x4037f5
cmp dword [ebx + 0x94], 0x10
lea eax, [ebx + 0x80]
mov dword [ebp - 0x3c], 3
jb 0x40372f
mov eax, dword [eax]
push 0xc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 0x26
push dword [ebx]
mov dword [ebp - 0x34], 0
call esi
test eax, eax
jne 0x403764
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetSetOptionA._INTERNET_OPTION_PROXY__n
call fcn.004013b0
add esp, 8
xor eax, eax
jmp 0x403aa9
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x4037f5
cmp dword [ebx + 0xc0], 0
je 0x4037f5
cmp dword [ebx + 0xac], 0x10
lea ecx, [ebx + 0x98]
jb 0x40378c
mov ecx, dword [ecx]
inc eax
push eax
push ecx
push 0x2b
push dword [ebx + 4]
call esi
test eax, eax
jne 0x4037b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetSetOptionA._INTERNET_OPTION_PROXY_USERNAME__n
call fcn.004013b0
add esp, 8
xor eax, eax
jmp 0x403aa9
cmp dword [ebx + 0xc4], 0x10
lea ecx, [ebx + 0xb0]
mov eax, dword [ebx + 0xc0]
jb 0x4037cc
mov ecx, dword [ecx]
inc eax
push eax
push ecx
push 0x2c
push dword [ebx + 4]
call esi
test eax, eax
jne 0x4037f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetSetOptionA._INTERNET_OPTION_PROXY_PASSWORD__n
call fcn.004013b0
add esp, 8
xor eax, eax
jmp 0x403aa9
cmp dword [ebx + 0x54], 4
lea edx, [ebx + 0x24]
mov ecx, 0x84487f10
mov eax, 0x84c83f10
cmovne eax, ecx
mov ecx, eax
or ecx, 0x200000
cmp dword [ebx + 0x5c], 0
cmovne ecx, eax
cmp dword [edx + 0x14], 0x10
jb 0x403820
mov edx, dword [edx]
cmp dword [ebx + 0x7c], 0x10
lea eax, [ebx + 0x68]
jb 0x40382b
mov eax, dword [eax]
push 0
push ecx
push 0
push 0
push str.HTTP_1.1
push edx
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 8], eax
test eax, eax
jne 0x403864
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_HttpOpenRequestA._n
call fcn.004013b0
add esp, 8
xor eax, eax
jmp 0x403aa9
push 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push ecx
push 0x41
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
xor edi, edi
mov byte [ebp - 0x2c], 0
mov edx, 0xf
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edi
mov esi, dword [ebx + 0x60]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x403a06
nop
add eax, 0x10
mov dword [ebp - 0x40], eax
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4038b0
mov ecx, dword [eax]
mov ebx, dword [eax + 0x10]
mov eax, edx
sub eax, edi
push ebx
push ecx
cmp ebx, eax
ja 0x4038e1
lea eax, [edi + ebx]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add edi, eax
push edi
call fcn.00415030
mov byte [edi + ebx], 0
add esp, 0xc
lea ebx, [ebp - 0x2c]
jmp 0x4038f3
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x44]
push ebx
call fcn.0040abd0
mov ebx, eax
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp eax, 2
jb 0x40392a
lea eax, [ecx + 2]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x403911
mov eax, dword [ebx]
push 2
lea edi, [eax + ecx]
push 0x440dd4
push edi
call fcn.00415030
add esp, 0xc
mov byte [edi + 2], 0
jmp 0x403943
push 2
push 0x440dd4
mov byte [ebp - 0x48], 0
mov ecx, ebx
push dword [ebp - 0x48]
push 2
call fcn.0040abd0
mov ebx, eax
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x2c], 0x10
lea edx, [ecx + 0x18]
jb 0x403952
mov edx, dword [ecx + 0x18]
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
sub eax, edi
mov ecx, dword [ecx + 0x28]
mov dword [ebp - 0x40], ecx
cmp ecx, eax
ja 0x40398a
cmp dword [ebx + 0x14], 0x10
lea eax, [edi + ecx]
mov dword [ebx + 0x10], eax
mov eax, ebx
jb 0x403974
mov eax, dword [ebx]
push ecx
add edi, eax
push edx
push edi
call fcn.00415030
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov byte [eax + edi], 0
jmp 0x40399d
push ecx
push edx
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x4c]
push ecx
mov ecx, ebx
call fcn.0040abd0
mov ebx, eax
mov edi, dword [ebx + 0x14]
mov ecx, edi
mov edx, dword [ebx + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x4039d2
lea eax, [edx + 1]
mov dword [ebx + 0x10], eax
cmp edi, 0x10
jb 0x4039b9
mov ebx, dword [ebx]
push 1
lea edi, [ebx + edx]
push 0x441128
push edi
call fcn.00415030
add esp, 0xc
mov byte [edi + 1], 0
jmp 0x4039e9
push 1
push 0x441128
mov byte [ebp - 0x50], 0
mov ecx, ebx
push dword [ebp - 0x50]
push 1
call fcn.0040abd0
lea ecx, [ebp - 0x14]
call fcn.00409130
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, esi
je 0x403a03
mov edi, dword [ebp - 0x1c]
jmp 0x4038a0
mov ebx, dword [ebp - 0x54]
push 0xa0000000
cmp edx, 0x10
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x403a3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_HttpAddRequestHeadersA._n
call fcn.004013b0
add esp, 8
xor esi, esi
jmp 0x403a77
lea ecx, [ebx + 0x60]
call fcn.00407150
push 0
push 0
push 0
push 0
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x403a72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_HttpSendRequestA._n
call fcn.004013b0
add esp, 8
xor esi, esi
jmp 0x403a77
mov esi, 1
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x403aa7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ac7
push edx
push ecx
call fcn.004137b1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413261
mov esp, ebp
pop ebp
ret 8
call fcn.004189c5
int3