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

Disassembly:
push 0xffffffffffffffff
push 0x44cd7b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
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.00429ca0
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.00402d10
call fcn.00430aa0
cmp eax, ebx
jge 0x430e99
call fcn.004317f0
mov edi, pe_nt_image_headers32
cmp dword [esp + 0x140], edi
jb 0x430df1
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00437f8b
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 0x430e25
mov edx, dword [esp + 0x1fc]
push edx
call fcn.00437f8b
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 0x430e6a
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x228]
push ecx
call fcn.00405eb0
mov edx, dword [esp + 0x228]
add esp, 4
push edx
call fcn.00437f8b
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.00437f8b
add esp, 4
mov eax, 0x80004005
jmp 0x4317bc
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 0x430ee5
mov ecx, dword [edi]
jmp 0x430ee7
mov ecx, edi
cmp ecx, 0x45659c
ja 0x430f22
cmp eax, 0x10
jb 0x430ef8
mov ecx, dword [edi]
jmp 0x430efa
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45659c
jbe 0x430f22
cmp eax, 0x10
jb 0x430f0e
mov edi, dword [edi]
push 0xb
mov eax, 0x45659c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x430f66
cmp eax, 0xb
jae 0x430f34
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x430f40
mov eax, dword [edi]
jmp 0x430f42
mov eax, edi
push 0xb
push 0x45659c
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x430f62
mov edi, dword [edi]
mov byte [edi + 0xb], 0
lea esi, [esp + 0xe4]
call fcn.004014c0
mov byte [esp + 0x200], 4
call fcn.00401770
mov esi, pe_nt_image_headers32
cmp dword [eax + 0x18], esi
jb 0x430f8e
mov eax, dword [eax + 4]
jmp 0x430f91
add eax, 4
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp + 0xa8], eax
cmp dword [esp + 0x124], esi
jb 0x430fb7
mov edx, dword [esp + 0x110]
push edx
call fcn.00437f8b
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.00429620
mov ecx, dword [ebp + 0xa8]
cmp ecx, ebx
je 0x43165c
mov edi, dword [esp + 0x1a4]
mov eax, pe_nt_image_headers32
cmp dword [esp + 0x1b8], eax
jae 0x43100f
lea edi, [esp + 0x1a4]
mov esi, dword [esp + 0x188]
cmp dword [esp + 0x19c], eax
jae 0x431026
lea esi, [esp + 0x188]
mov edx, dword [esp + 0x168]
cmp dword [esp + 0x17c], eax
jae 0x43103d
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 0x43165c
mov ebx, 3
cmp dword [esp + 0x1d8], ebx
jne 0x4311f9
test byte [esp + 0x214], 8
je 0x4310dc
lea ecx, [esp + 0x24]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, 0x4565a8
call fcn.00404250
lea esi, [esp + 0x7c]
call fcn.004014c0
mov byte [esp + 0x1f0], 5
mov dword [esp + 0x18], 1
call fcn.00401580
mov dword [esp + 0x1ec], 6
jmp 0x431129
lea edx, [esp + 0x40]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push ebx
mov ecx, 0x4565b0
call fcn.00404250
lea esi, [esp + 0xd4]
call fcn.004014c0
mov dword [esp + 0x1f0], 7
mov dword [esp + 0x18], 4
call fcn.004018b0
mov dword [esp + 0x1ec], 8
mov ebx, 0xc
mov edi, pe_nt_image_headers32
mov dword [esp + 0x14], ebx
cmp dword [eax + 0x18], edi
jb 0x43113c
mov eax, dword [eax + 4]
jmp 0x43113f
add eax, 4
push eax
lea ecx, [esp + 0x110]
call fcn.00402b30
test bl, 8
je 0x43115d
lea ecx, [esp + 0x40]
and ebx, 0xfffffff7
call fcn.00402ba0
test bl, 4
je 0x431171
lea esi, [esp + 0xb4]
and ebx, 0xfffffffb
call fcn.00429620
test bl, 2
je 0x431182
lea ecx, [esp + 0x24]
and ebx, 0xfffffffd
call fcn.00402ba0
mov dword [esp + 0x1ec], 3
test bl, 1
je 0x43119b
lea esi, [esp + 0x5c]
call fcn.00429620
mov ecx, dword [esp + 0x1c0]
cmp dword [esp + 0x1d4], edi
jae 0x4311b2
lea ecx, [esp + 0x1c0]
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], edi
jae 0x4311c9
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.00402ba0
jmp 0x43122b
cmp dword [esp + 0x1d4], 0x10
mov ecx, dword [esp + 0x1c0]
jae 0x431211
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 0x43165c
cmp dword [esp + 0x1d8], 3
mov dword [esp + 0x1c], 0
jne 0x431737
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 0x43140c
mov edx, dword [esp + 0x14]
push edx
mov eax, ebx
call fcn.00405210
push eax
lea ecx, [esp + 0x110]
call fcn.00402b70
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.__7u
call fcn.00404250
lea esi, [esp + 0x7c]
call fcn.004014c0
mov byte [esp + 0x1f0], 0xa
call fcn.00401580
cmp dword [eax + 0x18], 0x10
jb 0x4312de
mov esi, dword [eax + 4]
jmp 0x4312e1
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4312e6
sub eax, edx
push eax
push esi
mov ecx, 0xffffffff
lea edi, [esp + 0x114]
call fcn.00435040
mov ecx, dword [esp + 0x120]
add ecx, 0xfffffffe
cmp eax, ecx
lea ecx, [esp + 0x24]
setne byte [esp + 0x1b]
call fcn.00402ba0
lea esi, [esp + 0x5c]
mov byte [esp + 0x1ec], 9
call fcn.00429620
cmp byte [esp + 0x1b], 0
je 0x43139b
lea edx, [esp + 0x24]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, str._r_n7u
call fcn.00404250
lea esi, [esp + 0x7c]
call fcn.004014c0
mov byte [esp + 0x1f0], 0xb
call fcn.004018b0
mov byte [esp + 0x1ec], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x431377
mov eax, dword [eax + 4]
jmp 0x43137a
add eax, 4
lea ecx, [esp + 0x10c]
push ecx
mov edx, eax
call fcn.00405b90
lea ecx, [esp + 0x24]
call fcn.00402ba0
lea esi, [esp + 0x5c]
call fcn.00429620
cmp dword [esp + 0x124], 0x10
mov eax, dword [esp + 0x110]
jae 0x4313b3
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.00402ba0
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 0x431282
cmp dword [ebp + 0x6c], 0x10
mov ecx, dword [ebp + 0x68]
jb 0x43141a
mov eax, dword [ebp + 0x58]
jmp 0x43141d
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 0x43165c
xor ebx, ebx
push 0x13
lea edi, [esp + 0x18]
mov esi, ebp
mov dword [esp + 0x18], ebx
call fcn.00431d80
cmp eax, ebx
jl 0x431526
mov eax, 0x51eb851f
mul dword [esp + 0x14]
shr edx, 5
cmp edx, 2
je 0x431526
cmp edx, 3
jne 0x43165c
test byte [esp + 0x214], 2
jne 0x43165c
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.00431cd0
cmp eax, ebx
jge 0x4314c6
mov ecx, edi
mov byte [esp + 0x1ec], 3
call fcn.00402ba0
jmp 0x43165c
mov esi, ebp
call fcn.00431c10
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x114]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402d10
lea ecx, [esp + 0x10c]
call fcn.00402ba0
lea esi, [esp + 0x144]
call fcn.004317f0
lea ecx, [esp + 0x128]
call fcn.00402ba0
lea ecx, [esp + 0x1f8]
call fcn.00402ba0
lea esi, [esp + 0x218]
call fcn.00429ed0
mov eax, 1
jmp 0x4317bc
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 0x431722
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.00431cd0
cmp eax, ebx
jge 0x431596
mov ecx, edi
mov byte [esp + 0x1ec], 3
call fcn.00402ba0
jmp 0x43165c
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 0x43163e
lea ebx, [esi + 0x10]
push esi
lea eax, [esp + 0x21c]
call fcn.00405210
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebx
jb 0x4315dd
mov eax, dword [eax + 4]
jmp 0x4315e0
add eax, 4
push ecx
push eax
lea ecx, [esp + 0x114]
push ecx
xor eax, eax
call fcn.00434f70
cmp eax, 0xffffffff
jne 0x43161e
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 0x4315c3
jmp 0x43163e
push esi
lea eax, [esp + 0x21c]
call fcn.00405210
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x134]
call fcn.00402d10
xor edi, edi
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ec], 3
call fcn.00402ba0
xor ebx, ebx
cmp edi, ebx
jge 0x431722
mov esi, ebp
call fcn.00431c10
lea esi, [esp + 0x144]
call fcn.004317f0
mov ebx, pe_nt_image_headers32
cmp dword [esp + 0x140], ebx
jb 0x43168d
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00437f8b
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 0x4316c3
mov edx, dword [esp + 0x1fc]
push edx
call fcn.00437f8b
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 0x431708
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x228]
push ecx
call fcn.00405eb0
mov edx, dword [esp + 0x228]
add esp, 4
push edx
call fcn.00437f8b
add esp, 4
mov dword [esp + 0x224], esi
mov dword [esp + 0x228], esi
mov dword [esp + 0x22c], esi
jmp 0x430e7f
push 5
lea edi, [esp + 0x20]
mov esi, ebp
call fcn.00431d80
test eax, eax
jge 0x431742
xor eax, eax
jmp 0x431746
push 0
push eax
call dword [sym.imp.WININET.dll_FtpGetFileSize]
jmp 0x431746
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.00402d10
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x130]
push edx
lea ecx, [ebp + 0x1c]
call fcn.00402d10
mov eax, dword [esp + 0x214]
lea esi, [esp + 0x144]
mov dword [ebp + 0xc0], 1
mov dword [ebp + 0x8c], eax
call fcn.004317f0
lea ecx, [esp + 0x128]
call fcn.00402ba0
lea ecx, [esp + 0x1f8]
call fcn.00402ba0
lea esi, [esp + 0x218]
call fcn.00429ed0
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.00437983
add esp, 0x1dc
ret 0x3c