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

Disassembly:
push 0xffffffffffffffff
push 0x44dd8b
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.0042a500
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.00402d80
call fcn.00431060
cmp eax, ebx
jge 0x431459
call fcn.00431db0
mov edi, 0x10
cmp dword [esp + 0x140], edi
jb 0x4313b1
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.004393c9
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 0x4313e5
mov edx, dword [esp + 0x1fc]
push edx
call fcn.004393c9
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 0x43142a
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.004393c9
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.004393c9
add esp, 4
mov eax, 0x80004005
jmp 0x431d7c
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 0x4314a5
mov ecx, dword [edi]
jmp 0x4314a7
mov ecx, edi
cmp ecx, 0x457d54
ja 0x4314e2
cmp eax, 0x10
jb 0x4314b8
mov ecx, dword [edi]
jmp 0x4314ba
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x457d54
jbe 0x4314e2
cmp eax, 0x10
jb 0x4314ce
mov edi, dword [edi]
push 0xb
mov eax, 0x457d54
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d80
jmp 0x431526
cmp eax, 0xb
jae 0x4314f4
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.004034b0
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x431500
mov eax, dword [edi]
jmp 0x431502
mov eax, edi
push 0xb
push 0x457d54
push ecx
push eax
call fcn.00439429
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x431522
mov edi, dword [edi]
mov byte [edi + 0xb], 0
lea esi, [esp + 0xe4]
call fcn.004016b0
mov byte [esp + 0x200], 4
call fcn.00401850
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x43154e
mov eax, dword [eax + 4]
jmp 0x431551
add eax, 4
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp + 0xa8], eax
cmp dword [esp + 0x124], esi
jb 0x431577
mov edx, dword [esp + 0x110]
push edx
call fcn.004393c9
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.00429e20
mov ecx, dword [ebp + 0xa8]
cmp ecx, ebx
je 0x431c1c
mov edi, dword [esp + 0x1a4]
mov eax, 0x10
cmp dword [esp + 0x1b8], eax
jae 0x4315cf
lea edi, [esp + 0x1a4]
mov esi, dword [esp + 0x188]
cmp dword [esp + 0x19c], eax
jae 0x4315e6
lea esi, [esp + 0x188]
mov edx, dword [esp + 0x168]
cmp dword [esp + 0x17c], eax
jae 0x4315fd
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 0x431c1c
mov ebx, 3
cmp dword [esp + 0x1d8], ebx
jne 0x4317b9
test byte [esp + 0x214], 8
je 0x43169c
lea ecx, [esp + 0x24]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, 0x457d60
call fcn.00404200
lea esi, [esp + 0x7c]
call fcn.004016b0
mov byte [esp + 0x1f0], 5
mov dword [esp + 0x18], 1
call fcn.00401850
mov dword [esp + 0x1ec], 6
jmp 0x4316e9
lea edx, [esp + 0x40]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push ebx
mov ecx, 0x457d68
call fcn.00404200
lea esi, [esp + 0xd4]
call fcn.004016b0
mov dword [esp + 0x1f0], 7
mov dword [esp + 0x18], 4
call fcn.00401ca0
mov dword [esp + 0x1ec], 8
mov ebx, 0xc
mov edi, 0x10
mov dword [esp + 0x14], ebx
cmp dword [eax + 0x18], edi
jb 0x4316fc
mov eax, dword [eax + 4]
jmp 0x4316ff
add eax, 4
push eax
lea ecx, [esp + 0x110]
call fcn.00404230
test bl, 8
je 0x43171d
lea ecx, [esp + 0x40]
and ebx, 0xfffffff7
call fcn.00402bd0
test bl, 4
je 0x431731
lea esi, [esp + 0xb4]
and ebx, 0xfffffffb
call fcn.00429e20
test bl, 2
je 0x431742
lea ecx, [esp + 0x24]
and ebx, 0xfffffffd
call fcn.00402bd0
mov dword [esp + 0x1ec], 3
test bl, 1
je 0x43175b
lea esi, [esp + 0x5c]
call fcn.00429e20
mov ecx, dword [esp + 0x1c0]
cmp dword [esp + 0x1d4], edi
jae 0x431772
lea ecx, [esp + 0x1c0]
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], edi
jae 0x431789
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.00402bd0
jmp 0x4317eb
cmp dword [esp + 0x1d4], 0x10
mov ecx, dword [esp + 0x1c0]
jae 0x4317d1
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 0x431c1c
cmp dword [esp + 0x1d8], 3
mov dword [esp + 0x1c], 0
jne 0x431cf7
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 0x4319cc
mov edx, dword [esp + 0x14]
push edx
mov eax, ebx
call fcn.00404df0
push eax
lea ecx, [esp + 0x110]
call fcn.00402ba0
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.L_Ks
call fcn.00404200
lea esi, [esp + 0x7c]
call fcn.004016b0
mov byte [esp + 0x1f0], 0xa
call fcn.00401850
cmp dword [eax + 0x18], 0x10
jb 0x43189e
mov esi, dword [eax + 4]
jmp 0x4318a1
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4318a6
sub eax, edx
push eax
push esi
mov ecx, 0xffffffff
lea edi, [esp + 0x114]
call fcn.00435330
mov ecx, dword [esp + 0x120]
add ecx, 0xfffffffe
cmp eax, ecx
lea ecx, [esp + 0x24]
setne byte [esp + 0x1b]
call fcn.00402bd0
lea esi, [esp + 0x5c]
mov byte [esp + 0x1ec], 9
call fcn.00429e20
cmp byte [esp + 0x1b], 0
je 0x43195b
lea edx, [esp + 0x24]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, str.8cO1
call fcn.00404200
lea esi, [esp + 0x7c]
call fcn.004016b0
mov byte [esp + 0x1f0], 0xb
call fcn.00401770
mov byte [esp + 0x1ec], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x431937
mov eax, dword [eax + 4]
jmp 0x43193a
add eax, 4
lea ecx, [esp + 0x10c]
push ecx
mov edx, eax
call fcn.00405730
lea ecx, [esp + 0x24]
call fcn.00402bd0
lea esi, [esp + 0x5c]
call fcn.00429e20
cmp dword [esp + 0x124], 0x10
mov eax, dword [esp + 0x110]
jae 0x431973
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.00402bd0
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 0x431842
cmp dword [ebp + 0x6c], 0x10
mov ecx, dword [ebp + 0x68]
jb 0x4319da
mov eax, dword [ebp + 0x58]
jmp 0x4319dd
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 0x431c1c
xor ebx, ebx
push 0x13
lea edi, [esp + 0x18]
mov esi, ebp
mov dword [esp + 0x18], ebx
call fcn.004322f0
cmp eax, ebx
jl 0x431ae6
mov eax, 0x51eb851f
mul dword [esp + 0x14]
shr edx, 5
cmp edx, 2
je 0x431ae6
cmp edx, 3
jne 0x431c1c
test byte [esp + 0x214], 2
jne 0x431c1c
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.00432240
cmp eax, ebx
jge 0x431a86
mov ecx, edi
mov byte [esp + 0x1ec], 3
call fcn.00402bd0
jmp 0x431c1c
mov esi, ebp
call fcn.004321b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x114]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402d80
lea ecx, [esp + 0x10c]
call fcn.00402bd0
lea esi, [esp + 0x144]
call fcn.00431db0
lea ecx, [esp + 0x128]
call fcn.00402bd0
lea ecx, [esp + 0x1f8]
call fcn.00402bd0
lea esi, [esp + 0x218]
call fcn.0042a730
mov eax, 1
jmp 0x431d7c
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 0x431ce2
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.00432240
cmp eax, ebx
jge 0x431b56
mov ecx, edi
mov byte [esp + 0x1ec], 3
call fcn.00402bd0
jmp 0x431c1c
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 0x431bfe
lea ebx, [esi + 0x10]
push esi
lea eax, [esp + 0x21c]
call fcn.00404df0
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebx
jb 0x431b9d
mov eax, dword [eax + 4]
jmp 0x431ba0
add eax, 4
push ecx
push eax
lea ecx, [esp + 0x114]
push ecx
xor eax, eax
call fcn.00435260
cmp eax, 0xffffffff
jne 0x431bde
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 0x431b83
jmp 0x431bfe
push esi
lea eax, [esp + 0x21c]
call fcn.00404df0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x134]
call fcn.00402d80
xor edi, edi
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ec], 3
call fcn.00402bd0
xor ebx, ebx
cmp edi, ebx
jge 0x431ce2
mov esi, ebp
call fcn.004321b0
lea esi, [esp + 0x144]
call fcn.00431db0
mov ebx, 0x10
cmp dword [esp + 0x140], ebx
jb 0x431c4d
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.004393c9
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 0x431c83
mov edx, dword [esp + 0x1fc]
push edx
call fcn.004393c9
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 0x431cc8
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.004393c9
add esp, 4
mov dword [esp + 0x224], esi
mov dword [esp + 0x228], esi
mov dword [esp + 0x22c], esi
jmp 0x43143f
push 5
lea edi, [esp + 0x20]
mov esi, ebp
call fcn.004322f0
test eax, eax
jge 0x431d02
xor eax, eax
jmp 0x431d06
push 0
push eax
call dword [sym.imp.WININET.dll_FtpGetFileSize]
jmp 0x431d06
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.00402d80
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x130]
push edx
lea ecx, [ebp + 0x1c]
call fcn.00402d80
mov eax, dword [esp + 0x214]
lea esi, [esp + 0x144]
mov dword [ebp + 0xc0], 1
mov dword [ebp + 0x8c], eax
call fcn.00431db0
lea ecx, [esp + 0x128]
call fcn.00402bd0
lea ecx, [esp + 0x1f8]
call fcn.00402bd0
lea esi, [esp + 0x218]
call fcn.0042a730
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.00438dc1
add esp, 0x1dc
ret 0x3c