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

Disassembly:
push 0xffffffffffffffff
push 0x44e68b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1f4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1ec], 1
lea edi, [ebp + 0x70]
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0xc4], ebx
mov dword [ebp + 0xc0], ebx
call fcn.0042b2c0
mov eax, 0xf
mov dword [esp + 0x140], eax
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
mov dword [esp + 0x15c], eax
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
mov dword [esp + 0x17c], eax
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov dword [esp + 0x19c], eax
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x208], 3
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], eax
push ebx
lea eax, [esp + 0x21c]
mov dword [ecx + 0x14], ebx
push eax
lea esi, [esp + 0x16c]
mov byte [ecx + 4], bl
call fcn.00402be0
call fcn.00432040
cmp eax, ebx
jge 0x432439
call fcn.00432d90
mov edi, 0x10
cmp dword [esp + 0x140], edi
jb 0x432391
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00439c49
add esp, 4
mov esi, 0xf
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], 0
cmp dword [esp + 0x210], edi
jb 0x4323c5
mov edx, dword [esp + 0x1fc]
push edx
call fcn.00439c49
add esp, 4
mov eax, dword [esp + 0x224]
mov dword [esp + 0x210], esi
mov dword [esp + 0x20c], ebx
mov byte [esp + 0x1fc], 0
cmp eax, ebx
je 0x43240a
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x228]
push ecx
call fcn.00405a50
mov edx, dword [esp + 0x228]
add esp, 4
push edx
call fcn.00439c49
add esp, 4
mov dword [esp + 0x224], ebx
mov dword [esp + 0x228], ebx
mov dword [esp + 0x22c], ebx
mov eax, dword [esp + 0x218]
push eax
call fcn.00439c49
add esp, 4
mov eax, 0x80004005
jmp 0x432d59
mov cl, byte [esp + 0x214]
push ebx
push ebx
push ebx
not cl
push ebx
movzx eax, cl
lea edx, [esp + 0x11c]
and eax, 1
push edx
sub esp, 0x1c
mov esi, esp
shl eax, 0x1a
or eax, 0x80403000
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov dword [esp + 0x4c], eax
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x50], esp
cmp eax, 0x10
jb 0x432485
mov ecx, dword [edi]
jmp 0x432487
mov ecx, edi
cmp ecx, 0x457fe4
ja 0x4324c2
cmp eax, 0x10
jb 0x432498
mov ecx, dword [edi]
jmp 0x43249a
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x457fe4
jbe 0x4324c2
cmp eax, 0x10
jb 0x4324ae
mov edi, dword [edi]
push 0xb
mov eax, 0x457fe4
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x432506
cmp eax, 0xb
jae 0x4324d4
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x4324e0
mov eax, dword [edi]
jmp 0x4324e2
mov eax, edi
push 0xb
push 0x457fe4
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x432502
mov edi, dword [edi]
mov byte [edi + 0xb], 0
lea esi, [esp + 0xe4]
call fcn.004014e0
mov byte [esp + 0x200], 4
call fcn.004016a0
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x43252e
mov eax, dword [eax + 4]
jmp 0x432531
add eax, 4
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp + 0xa8], eax
cmp dword [esp + 0x124], esi
jb 0x432557
mov edx, dword [esp + 0x110]
push edx
call fcn.00439c49
add esp, 4
lea esi, [esp + 0xb4]
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], 0
mov byte [esp + 0x1ec], 3
call fcn.004037a0
mov ecx, dword [ebp + 0xa8]
cmp ecx, ebx
je 0x432bf9
mov edi, dword [esp + 0x1a4]
mov eax, 0x10
cmp dword [esp + 0x1b8], eax
jae 0x4325af
lea edi, [esp + 0x1a4]
mov esi, dword [esp + 0x188]
cmp dword [esp + 0x19c], eax
jae 0x4325c6
lea esi, [esp + 0x188]
mov edx, dword [esp + 0x168]
cmp dword [esp + 0x17c], eax
jae 0x4325dd
lea edx, [esp + 0x168]
mov eax, dword [esp + 0x1d8]
mov ebx, eax
dec ebx
neg ebx
push 1
sbb ebx, ebx
and ebx, 0xf8000000
add ebx, 0x8000000
push ebx
push eax
mov eax, dword [esp + 0x18c]
push edi
push esi
push eax
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 0xac], eax
test eax, eax
je 0x432bf9
mov ebx, 3
cmp dword [esp + 0x1d8], ebx
jne 0x43279b
test byte [esp + 0x214], 8
je 0x43267c
lea ecx, [esp + 0x24]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, str._v41
call fcn.00404130
lea esi, [esp + 0x7c]
call fcn.004014e0
mov byte [esp + 0x1f0], 5
mov dword [esp + 0x18], 1
call fcn.004016a0
mov dword [esp + 0x1ec], 6
jmp 0x4326cb
lea edx, [esp + 0x40]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push ebx
mov ecx, 0x457ff8
call fcn.00404130
lea esi, [esp + 0xd4]
call fcn.004014e0
mov dword [esp + 0x1f0], 7
mov ecx, eax
mov dword [esp + 0x18], 4
call fcn.00401760
mov dword [esp + 0x1ec], 8
mov ebx, 0xc
mov edi, 0x10
mov dword [esp + 0x14], ebx
cmp dword [eax + 0x18], edi
jb 0x4326de
mov eax, dword [eax + 4]
jmp 0x4326e1
add eax, 4
push eax
lea ecx, [esp + 0x110]
call fcn.00402930
test bl, 8
je 0x4326ff
lea ecx, [esp + 0x40]
and ebx, 0xfffffff7
call fcn.004029a0
test bl, 4
je 0x432713
lea esi, [esp + 0xb4]
and ebx, 0xfffffffb
call fcn.004037a0
test bl, 2
je 0x432724
lea ecx, [esp + 0x24]
and ebx, 0xfffffffd
call fcn.004029a0
mov dword [esp + 0x1ec], 3
test bl, 1
je 0x43273d
lea esi, [esp + 0x5c]
call fcn.004037a0
mov ecx, dword [esp + 0x1c0]
cmp dword [esp + 0x1d4], edi
jae 0x432754
lea ecx, [esp + 0x1c0]
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], edi
jae 0x43276b
lea eax, [esp + 0x110]
mov edx, dword [esp + 0x1c]
push 1
push edx
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [ebp + 0xac]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
lea ecx, [esp + 0x10c]
mov dword [ebp + 0xb0], eax
call fcn.004029a0
jmp 0x4327cd
cmp dword [esp + 0x1d4], 0x10
mov ecx, dword [esp + 0x1c0]
jae 0x4327b3
lea ecx, [esp + 0x1c0]
push 0
push closesocket
push closesocket
push ecx
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp + 0xb0]
test eax, eax
je 0x432bf9
cmp dword [esp + 0x1d8], 3
mov dword [esp + 0x1c], 0
jne 0x432cd4
mov ecx, dword [ebp + 0xa0]
sub ecx, dword [ebp + 0x9c]
lea ebx, [ebp + 0x90]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], 0
je 0x4329ae
mov edx, dword [esp + 0x14]
push edx
mov eax, ebx
call fcn.00404da0
push eax
lea ecx, [esp + 0x110]
call fcn.00402970
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov byte [esp + 0x20c], 9
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, str.3ge
call fcn.00404130
lea esi, [esp + 0x7c]
call fcn.004014e0
mov byte [esp + 0x1f0], 0xa
call fcn.004016a0
cmp dword [eax + 0x18], 0x10
jb 0x432880
mov esi, dword [eax + 4]
jmp 0x432883
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432888
sub eax, edx
push eax
push esi
mov ecx, 0xffffffff
lea edi, [esp + 0x114]
call fcn.00436590
mov ecx, dword [esp + 0x120]
add ecx, 0xfffffffe
cmp eax, ecx
lea ecx, [esp + 0x24]
setne byte [esp + 0x1b]
call fcn.004029a0
lea esi, [esp + 0x5c]
mov byte [esp + 0x1ec], 9
call fcn.004037a0
cmp byte [esp + 0x1b], 0
je 0x43293d
lea edx, [esp + 0x24]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, str.3ge
call fcn.00404130
lea esi, [esp + 0x7c]
call fcn.004014e0
mov byte [esp + 0x1f0], 0xb
call fcn.004016a0
mov byte [esp + 0x1ec], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x432919
mov eax, dword [eax + 4]
jmp 0x43291c
add eax, 4
lea ecx, [esp + 0x10c]
push ecx
mov edx, eax
call fcn.00405730
lea ecx, [esp + 0x24]
call fcn.004029a0
lea esi, [esp + 0x5c]
call fcn.004037a0
cmp dword [esp + 0x124], 0x10
mov eax, dword [esp + 0x110]
jae 0x432955
lea eax, [esp + 0x110]
mov edx, dword [esp + 0x120]
push 0xa0000000
push edx
push eax
mov eax, dword [ebp + 0xb0]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ec], 3
call fcn.004029a0
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
mov dword [esp + 0x14], esi
cmp esi, ecx
jb 0x432824
cmp dword [ebp + 0x6c], 0x10
mov ecx, dword [ebp + 0x68]
jb 0x4329bc
mov eax, dword [ebp + 0x58]
jmp 0x4329bf
lea eax, [ebp + 0x58]
mov edx, dword [ebp + 0xb0]
push ecx
push eax
push 0xffffffffffffffff
push 0
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x432bf9
xor ebx, ebx
push 0x13
lea edi, [esp + 0x18]
mov esi, ebp
mov dword [esp + 0x18], ebx
call fcn.00433280
cmp eax, ebx
jl 0x432ac0
mov eax, 0x51eb851f
mul dword [esp + 0x14]
shr edx, 5
cmp edx, 2
je 0x432ac0
cmp edx, 3
jne 0x432bf9
test byte [esp + 0x214], 2
jne 0x432bf9
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
push 0x21
lea edi, [esp + 0x110]
mov byte [esp + 0x1f0], 0xd
call fcn.004331d0
test eax, eax
jge 0x432a60
mov ecx, edi
call fcn.004029a0
jmp 0x432bf9
mov esi, ebp
call fcn.00433150
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x114]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402be0
lea ecx, [esp + 0x10c]
call fcn.004029a0
lea esi, [esp + 0x144]
call fcn.00432d90
lea ecx, [esp + 0x128]
call fcn.004029a0
lea ecx, [esp + 0x1f8]
call fcn.004029a0
lea esi, [esp + 0x218]
call fcn.0042b4f0
mov eax, 1
jmp 0x432d59
mov ecx, dword [esp + 0x228]
sub ecx, dword [esp + 0x224]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x432cbf
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
push 1
lea edi, [esp + 0x110]
mov esi, ebp
mov byte [esp + 0x1f0], 0xe
call fcn.004331d0
cmp eax, ebx
jge 0x432b28
mov ecx, edi
call fcn.004029a0
jmp 0x432bf9
mov ecx, dword [esp + 0x228]
sub ecx, dword [esp + 0x224]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
mov edi, 0x80004005
je 0x432bdb
lea ebx, [esi + 0x10]
lea esp, [esp]
push esi
lea eax, [esp + 0x21c]
call fcn.00404da0
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebx
jb 0x432b7a
mov eax, dword [eax + 4]
jmp 0x432b7d
add eax, 4
push ecx
push eax
lea ecx, [esp + 0x114]
push ecx
xor eax, eax
call fcn.004364c0
cmp eax, 0xffffffff
jne 0x432bbb
mov ecx, dword [esp + 0x228]
sub ecx, dword [esp + 0x224]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
jb 0x432b60
jmp 0x432bdb
push esi
lea eax, [esp + 0x21c]
call fcn.00404da0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x134]
call fcn.00402be0
xor edi, edi
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ec], 3
call fcn.004029a0
xor ebx, ebx
cmp edi, ebx
jge 0x432cbf
mov esi, ebp
call fcn.00433150
lea esi, [esp + 0x144]
call fcn.00432d90
mov ebx, 0x10
cmp dword [esp + 0x140], ebx
jb 0x432c2a
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00439c49
add esp, 4
xor esi, esi
mov edi, 0xf
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], esi
mov byte [esp + 0x12c], 0
cmp dword [esp + 0x210], ebx
jb 0x432c60
mov edx, dword [esp + 0x1fc]
push edx
call fcn.00439c49
add esp, 4
mov eax, dword [esp + 0x224]
mov dword [esp + 0x210], edi
mov dword [esp + 0x20c], esi
mov byte [esp + 0x1fc], 0
cmp eax, esi
je 0x432ca5
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x228]
push ecx
call fcn.00405a50
mov edx, dword [esp + 0x228]
add esp, 4
push edx
call fcn.00439c49
add esp, 4
mov dword [esp + 0x224], esi
mov dword [esp + 0x228], esi
mov dword [esp + 0x22c], esi
jmp 0x43241f
push 5
lea edi, [esp + 0x20]
mov esi, ebp
call fcn.00433280
test eax, eax
jge 0x432cdf
xor eax, eax
jmp 0x432ce3
push 0
push eax
call dword [sym.imp.WININET.dll_FtpGetFileSize]
jmp 0x432ce3
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x200]
push ecx
mov ecx, ebp
mov dword [ebp + 0xb4], eax
call fcn.00402be0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x130]
push edx
lea ecx, [ebp + 0x1c]
call fcn.00402be0
mov eax, dword [esp + 0x214]
lea esi, [esp + 0x144]
mov dword [ebp + 0xc0], 1
mov dword [ebp + 0x8c], eax
call fcn.00432d90
lea ecx, [esp + 0x128]
call fcn.004029a0
lea ecx, [esp + 0x1f8]
call fcn.004029a0
lea esi, [esp + 0x218]
call fcn.0042b4f0
xor eax, eax
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00439641
add esp, 0x1dc
ret 0x3c