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

Disassembly:
push 0xffffffffffffffff
push 0x45499b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467334]
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.004290c0
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.00402ea0
call fcn.00432c80
cmp eax, ebx
jge 0x433079
call fcn.004339e0
mov edi, pe_nt_image_headers32
cmp dword [esp + 0x140], edi
jb 0x432fd1
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.0043c853
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 0x433005
mov edx, dword [esp + 0x1fc]
push edx
call fcn.0043c853
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 0x43304a
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x228]
push ecx
call fcn.00405d80
mov edx, dword [esp + 0x228]
add esp, 4
push edx
call fcn.0043c853
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.0043c853
add esp, 4
mov eax, 0x80004005
jmp 0x4339aa
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 0x4330c5
mov ecx, dword [edi]
jmp 0x4330c7
mov ecx, edi
cmp ecx, str.AOF_r_X_ez
ja 0x433102
cmp eax, 0x10
jb 0x4330d8
mov ecx, dword [edi]
jmp 0x4330da
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, str.AOF_r_X_ez
jbe 0x433102
cmp eax, 0x10
jb 0x4330ee
mov edi, dword [edi]
push 0xb
mov eax, str.AOF_r_X_ez
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x433146
cmp eax, 0xb
jae 0x433114
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x433120
mov eax, dword [edi]
jmp 0x433122
mov eax, edi
push 0xb
push str.AOF_r_X_ez
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x433142
mov edi, dword [edi]
mov byte [edi + 0xb], 0
lea esi, [esp + 0xe4]
call fcn.00401900
mov ecx, eax
mov byte [esp + 0x200], 4
call fcn.00401db0
mov esi, pe_nt_image_headers32
cmp dword [eax + 0x18], esi
jb 0x433170
mov eax, dword [eax + 4]
jmp 0x433173
add eax, 4
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp + 0xa8], eax
cmp dword [esp + 0x124], esi
jb 0x433199
mov edx, dword [esp + 0x110]
push edx
call fcn.0043c853
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.00429050
mov ecx, dword [ebp + 0xa8]
cmp ecx, ebx
je 0x43384a
mov edi, dword [esp + 0x1a4]
mov eax, pe_nt_image_headers32
cmp dword [esp + 0x1b8], eax
jae 0x4331f1
lea edi, [esp + 0x1a4]
mov esi, dword [esp + 0x188]
cmp dword [esp + 0x19c], eax
jae 0x433208
lea esi, [esp + 0x188]
mov edx, dword [esp + 0x168]
cmp dword [esp + 0x17c], eax
jae 0x43321f
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 0x43384a
mov ebx, 3
cmp dword [esp + 0x1d8], ebx
jne 0x4333df
test byte [esp + 0x214], 8
je 0x4332c0
lea ecx, [esp + 0x24]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, 0x45d10c
call fcn.00404720
lea esi, [esp + 0x7c]
call fcn.00401900
mov byte [esp + 0x1f0], 5
mov ecx, eax
mov dword [esp + 0x18], 1
call fcn.00401db0
mov dword [esp + 0x1ec], 6
jmp 0x43330f
lea edx, [esp + 0x40]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push ebx
mov ecx, 0x45d114
call fcn.00404720
lea esi, [esp + 0xd4]
call fcn.00401900
mov dword [esp + 0x1f0], 7
mov ecx, eax
mov dword [esp + 0x18], 4
call fcn.00401db0
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 0x433322
mov eax, dword [eax + 4]
jmp 0x433325
add eax, 4
push eax
lea ecx, [esp + 0x110]
call fcn.00402c00
test bl, 8
je 0x433343
lea ecx, [esp + 0x40]
and ebx, 0xfffffff7
call fcn.00402c70
test bl, 4
je 0x433357
lea esi, [esp + 0xb4]
and ebx, 0xfffffffb
call fcn.00429050
test bl, 2
je 0x433368
lea ecx, [esp + 0x24]
and ebx, 0xfffffffd
call fcn.00402c70
mov dword [esp + 0x1ec], 3
test bl, 1
je 0x433381
lea esi, [esp + 0x5c]
call fcn.00429050
mov ecx, dword [esp + 0x1c0]
cmp dword [esp + 0x1d4], edi
jae 0x433398
lea ecx, [esp + 0x1c0]
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], edi
jae 0x4333af
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.00402c70
jmp 0x433411
cmp dword [esp + 0x1d4], 0x10
mov ecx, dword [esp + 0x1c0]
jae 0x4333f7
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 0x43384a
cmp dword [esp + 0x1d8], 3
mov dword [esp + 0x1c], 0
jne 0x433925
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 0x4335f6
mov edx, dword [esp + 0x14]
push edx
mov eax, ebx
call fcn.00405300
push eax
lea ecx, [esp + 0x110]
call fcn.00402c40
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._DvD
call fcn.00404720
lea esi, [esp + 0x7c]
call fcn.00401900
mov ecx, eax
mov byte [esp + 0x1f0], 0xa
call fcn.00401b50
cmp dword [eax + 0x18], 0x10
jb 0x4334c6
mov esi, dword [eax + 4]
jmp 0x4334c9
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4334d0
sub eax, edx
push eax
push esi
mov ecx, 0xffffffff
lea edi, [esp + 0x114]
call fcn.00437d90
mov ecx, dword [esp + 0x120]
add ecx, 0xfffffffe
cmp eax, ecx
lea ecx, [esp + 0x24]
setne byte [esp + 0x1b]
call fcn.00402c70
lea esi, [esp + 0x5c]
mov byte [esp + 0x1ec], 9
call fcn.00429050
cmp byte [esp + 0x1b], 0
je 0x433585
lea edx, [esp + 0x24]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 4
mov ecx, str.__vj
call fcn.00404720
lea esi, [esp + 0x7c]
call fcn.00401900
mov byte [esp + 0x1f0], 0xb
call fcn.004019c0
mov byte [esp + 0x1ec], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x433561
mov eax, dword [eax + 4]
jmp 0x433564
add eax, 4
lea ecx, [esp + 0x10c]
push ecx
mov edx, eax
call fcn.00402e80
lea ecx, [esp + 0x24]
call fcn.00402c70
lea esi, [esp + 0x5c]
call fcn.00429050
cmp dword [esp + 0x124], 0x10
mov eax, dword [esp + 0x110]
jae 0x43359d
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.00402c70
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 0x433468
cmp dword [ebp + 0x6c], 0x10
mov ecx, dword [ebp + 0x68]
jb 0x433604
mov eax, dword [ebp + 0x58]
jmp 0x433607
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 0x43384a
xor ebx, ebx
push 0x13
lea edi, [esp + 0x18]
mov esi, ebp
mov dword [esp + 0x18], ebx
call fcn.00433f00
cmp eax, ebx
jl 0x433710
mov eax, 0x51eb851f
mul dword [esp + 0x14]
shr edx, 5
cmp edx, 2
je 0x433710
cmp edx, 3
jne 0x43384a
test byte [esp + 0x214], 2
jne 0x43384a
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.00433e50
cmp eax, ebx
jge 0x4336b0
mov ecx, edi
mov byte [esp + 0x1ec], 3
call fcn.00402c70
jmp 0x43384a
mov esi, ebp
call fcn.00433df0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x114]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402ea0
lea ecx, [esp + 0x10c]
call fcn.00402c70
lea esi, [esp + 0x144]
call fcn.004339e0
lea ecx, [esp + 0x128]
call fcn.00402c70
lea ecx, [esp + 0x1f8]
call fcn.00402c70
lea esi, [esp + 0x218]
call fcn.00429780
mov eax, 1
jmp 0x4339aa
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 0x433910
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.00433e50
cmp eax, ebx
jge 0x433780
mov ecx, edi
mov byte [esp + 0x1ec], 3
call fcn.00402c70
jmp 0x43384a
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 0x43382c
lea ebx, [esi + 0x10]
push esi
lea eax, [esp + 0x21c]
call fcn.00405300
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebx
jb 0x4337cb
mov eax, dword [eax + 4]
jmp 0x4337ce
add eax, 4
push ecx
push eax
lea ecx, [esp + 0x114]
push ecx
xor eax, eax
call fcn.00437cc0
cmp eax, 0xffffffff
jne 0x43380c
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 0x4337b1
jmp 0x43382c
push esi
lea eax, [esp + 0x21c]
call fcn.00405300
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x134]
call fcn.00402ea0
xor edi, edi
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ec], 3
call fcn.00402c70
xor ebx, ebx
cmp edi, ebx
jge 0x433910
mov esi, ebp
call fcn.00433df0
lea esi, [esp + 0x144]
call fcn.004339e0
mov ebx, pe_nt_image_headers32
cmp dword [esp + 0x140], ebx
jb 0x43387b
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.0043c853
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 0x4338b1
mov edx, dword [esp + 0x1fc]
push edx
call fcn.0043c853
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 0x4338f6
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x228]
push ecx
call fcn.00405d80
mov edx, dword [esp + 0x228]
add esp, 4
push edx
call fcn.0043c853
add esp, 4
mov dword [esp + 0x224], esi
mov dword [esp + 0x228], esi
mov dword [esp + 0x22c], esi
jmp 0x43305f
push 5
lea edi, [esp + 0x20]
mov esi, ebp
call fcn.00433f00
test eax, eax
jge 0x433930
xor eax, eax
jmp 0x433934
push 0
push eax
call dword [sym.imp.WININET.dll_FtpGetFileSize]
jmp 0x433934
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.00402ea0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x130]
push edx
lea ecx, [ebp + 0x1c]
call fcn.00402ea0
mov eax, dword [esp + 0x214]
lea esi, [esp + 0x144]
mov dword [ebp + 0xc0], 1
mov dword [ebp + 0x8c], eax
call fcn.004339e0
lea ecx, [esp + 0x128]
call fcn.00402c70
lea ecx, [esp + 0x1f8]
call fcn.00402c70
lea esi, [esp + 0x218]
call fcn.00429780
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.0043c2d9
add esp, 0x1dc
ret 0x3c