Function at 0x431ec4
Capabilities:
Check for software breakpoints
Check http status code
Connect to http server
Create http request
Delete file
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46adce
mov eax, dword fs:[0]
push eax
mov eax, 0x39a4
call fcn.004405e0
mov eax, dword [0x48a024]
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 dword [ebp - 0x3900], edx
mov dword [ebp - 0x3938], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x3988]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3914], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3910], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3930], eax
lea eax, [ebp - 0x38f8]
push eax
push str.PerformRemoteOp
mov dword [ebp - 0x38f8], 0x4b1
call fcn.0041bb53
xor edx, edx
mov dword [ebp - 0x393c], edx
mov dword [ebp - 4], edx
lea edi, [ebp - 0x38f4]
mov eax, dword [0x48bd08]
mov esi, edx
push 9
pop ecx
mov dword [ebp - 0x3918], eax
xor eax, eax
push 0x80
rep stosd dword es:[edi], eax
push edx
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x38fc], edx
push eax
mov dword [ebp - 0x3934], edx
mov dword [ebp - 0x391c], edx
mov dword [ebp - 0x3920], edx
mov dword [ebp - 0x390c], edx
mov dword [ebp - 0x392c], 4
mov dword [ebp - 0x3928], edx
call fcn.00441660
add esp, 0xc
call fcn.004068d0
push eax
lea ecx, [ebp - 0x3908]
call fcn.00405f99
mov byte [ebp - 4], 2
call fcn.004068d0
push eax
lea ecx, [ebp - 0x3940]
call fcn.00405f99
mov byte [ebp - 4], 4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3978], eax
xor edx, edx
lea eax, [ebp - 0x28d0]
mov dword [ebp - 0x3904], edx
mov dword [ebp - 0x396c], eax
mov ecx, 0x400
xor eax, eax
mov dword [ebp - 0x397c], 0x3c
mov word [ebp - 0x3964], ax
mov edi, edx
lea eax, [ebp - 0x18d0]
mov dword [ebp - 0x3924], edi
mov dword [ebp - 0x3960], eax
lea eax, [ebp - 0x10d0]
mov dword [ebp - 0x3958], eax
lea eax, [ebp - 0x38d0]
mov dword [ebp - 0x3950], eax
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x3948], eax
mov eax, dword [ebp - 0x3938]
cmp eax, 4
mov dword [ebp - 0x3974], 0x20
mov dword [ebp - 0x3970], edx
mov dword [ebp - 0x3968], 0x800
mov dword [ebp - 0x395c], ecx
mov dword [ebp - 0x3954], ecx
mov dword [ebp - 0x394c], 0x800
mov dword [ebp - 0x3944], ecx
jl 0x432715
test ebx, ebx
je 0x432715
cmp word [ebx], dx
je 0x432715
mov edx, dword [ebp - 0x3910]
mov ecx, dword [ebp - 0x3914]
test edx, edx
je 0x4320ae
test ecx, ecx
je 0x432715
cmp eax, 5
je 0x4326f1
cmp eax, 6
je 0x4326f1
push ebx
push str.Downloading:__s
call fcn.0041b909
mov eax, dword [ebp - 0x3914]
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
je 0x4320fd
cmp dword [ebp - 0x3910], edi
jne 0x4320fd
mov edi, eax
mov dword [ebp - 0x3924], edi
cmp word [eax], cx
jne 0x4320fd
mov dword [ebp - 0x38f8], 0x57
jmp 0x43275d
cmp dword [0x48bc70], 0
jle 0x432115
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x43275d
cmp byte [0x48bd18], 0
jne 0x432138
push ecx
push ecx
push ecx
push ecx
push dword [0x48bca8]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x38fc], esi
jmp 0x432180
movzx eax, word [0x48bd20]
push eax
push dword [0x48bd1c]
lea eax, [ebp - 0x28d0]
push str._s:_hu
push 0x800
push eax
call fcn.0040817c
add esp, 0x14
xor eax, eax
push eax
push eax
lea eax, [ebp - 0x28d0]
push eax
push 3
push dword [0x48bca8]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x38fc], eax
test esi, esi
je 0x43275d
cmp dword [0x48bc70], 0
jle 0x4321a0
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x432752
push 4
lea eax, [ebp - 0x3918]
push eax
push 2
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x432752
push 4
lea eax, [ebp - 0x3918]
push eax
push 6
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x432752
push 4
lea eax, [ebp - 0x3918]
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x432752
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x393c]
jne 0x4321f3
sub ecx, edx
sar ecx, 1
imul eax, ecx, 3
push 2
mov dword [ebp - 0x3920], eax
inc eax
push eax
call fcn.00454d8b
mov dword [ebp - 0x391c], eax
pop ecx
pop ecx
test eax, eax
jne 0x432233
mov dword [ebp - 0x38f8], 8
jmp 0x432752
push 0x2000000
lea ecx, [ebp - 0x3920]
push ecx
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
je 0x43272a
test edi, edi
je 0x432279
lea eax, [ebp - 0x38f4]
push eax
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x432279
push 9
pop ecx
lea edi, [ebp - 0x38f4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x3924]
cmp dword [ebp - 0x3900], 1
jne 0x4322f4
test edi, edi
je 0x4322f4
cmp dword [ebp - 0x38d4], 0
push 9
pop ebx
je 0x4322c1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4322ee
cmp eax, 0x20
je 0x4322af
cmp eax, 5
jne 0x4322ee
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x432292
jmp 0x4322ee
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4322ee
cmp eax, 0x20
je 0x4322de
cmp eax, 5
jne 0x4322ee
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x4322c1
mov esi, dword [ebp - 0x38fc]
lea eax, [ebp - 0x397c]
xor ebx, ebx
push eax
mov eax, dword [ebp - 0x391c]
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x43231f
mov dword [ebp - 0x38f8], 0xb
jmp 0x43272a
mov ecx, dword [ebp - 0x3970]
xor edx, edx
inc edx
cmp ecx, edx
je 0x432379
cmp ecx, 2
je 0x43235b
lea eax, [ecx - 3]
cmp eax, edx
ja 0x432390
cmp word [ebp - 0x3964], bx
jne 0x432357
cmp ecx, 3
jne 0x43234b
push 0x50
pop eax
jmp 0x432350
mov eax, 0x1bb
mov word [ebp - 0x3964], ax
push 3
jmp 0x432370
cmp word [ebp - 0x3964], bx
jne 0x43236e
push 0x46
pop eax
mov word [ebp - 0x3964], ax
push 2
pop edi
mov dword [ebp - 0x3904], edi
jmp 0x432392
cmp word [ebp - 0x3964], bx
jne 0x43238c
push 0x15
pop eax
mov word [ebp - 0x3964], ax
mov edi, edx
jmp 0x432371
mov edi, ebx
xor eax, eax
mov ecx, 0x8000000
push ebx
cmp edi, edx
cmove eax, ecx
push eax
push edi
lea eax, [ebp - 0x10d0]
push eax
lea eax, [ebp - 0x18d0]
push eax
push dword [ebp - 0x3964]
lea eax, [ebp - 0x28d0]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
mov dword [ebp - 0x3934], ebx
test ebx, ebx
je 0x43272a
cmp byte [0x48bd22], 0
je 0x43240f
mov ecx, dword [0x48bd24]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push dword [ecx - 0xc]
push ecx
push 0x2b
push ebx
call esi
test eax, eax
je 0x43272a
mov eax, dword [0x48bd28]
push dword [eax - 0xc]
push eax
push 0x2c
push ebx
call esi
test eax, eax
je 0x43272a
lea ecx, [ebp - 0x38d0]
call fcn.004082a0
push eax
lea eax, [ebp - 0x38d0]
push eax
lea ecx, [ebp - 0x3908]
call fcn.00408222
lea ecx, [ebp - 0x8d0]
call fcn.004082a0
push eax
lea eax, [ebp - 0x8d0]
push eax
lea ecx, [ebp - 0x3908]
call fcn.00409578
mov eax, edi
sub eax, 1
je 0x43258c
sub eax, 1
je 0x432565
sub eax, 1
jne 0x43272a
cmp dword [ebp - 0x3970], 4
mov ecx, 0x84c8f300
mov eax, 0x8448f300
cmove eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x3900], 0
push ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x3908]
mov ecx, 0x47edcc
mov eax, str.POST
cmovne eax, ecx
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x43272a
mov eax, dword [ebp - 0x3930]
test eax, eax
je 0x4324d0
push 0x10000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x432723
cmp dword [ebp - 0x3900], 0
jne 0x43254f
push 9
xor eax, eax
mov dword [ebp - 0x39b0], 0x28
pop ecx
lea edi, [ebp - 0x39ac]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3910]
test eax, eax
je 0x4324fe
mov eax, dword [eax]
jmp 0x432504
mov eax, dword [ebp - 0x38d4]
xor ebx, ebx
mov dword [ebp - 0x3994], eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x39b0]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x43252a
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, ebx
mov edi, dword [ebp - 0x3904]
test esi, esi
je 0x43272a
mov ebx, dword [ebp - 0x3914]
test ebx, ebx
jne 0x4325b5
xor eax, eax
mov dword [ebp - 0x38f8], eax
jmp 0x43271f
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x432530
jmp 0x432723
cmp dword [ebp - 0x3900], 1
jne 0x43272a
xor eax, eax
push eax
push 0x84000000
push eax
push dword [ebp - 0x3908]
push ebx
call dword [sym.imp.WININET.dll_GopherOpenFileW]
mov esi, eax
jmp 0x432530
xor eax, eax
mov ecx, 0x40000000
cmp dword [ebp - 0x3900], 0
push eax
push 2
mov eax, SysReAllocString
cmove eax, ecx
push eax
push dword [ebp - 0x3908]
push ebx
call dword [sym.imp.WININET.dll_FtpOpenFileW]
jmp 0x432588
cmp dword [0x48bc70], 0
jle 0x4325cd
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x43271f
cmp dword [ebp - 0x3900], 0
jne 0x43268f
push dword [sym.imp.WININET.dll_InternetWriteFile]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x3910]
call fcn.0041a841
mov dword [ebp - 0x38f8], eax
pop ecx
pop ecx
test eax, eax
jne 0x43271f
cmp edi, 3
jne 0x43271f
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
lea eax, [ebp - 0x3928]
push eax
lea eax, [ebp - 0x392c]
push eax
lea eax, [ebp - 0x390c]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x43271f
mov eax, dword [ebp - 0x390c]
cmp eax, 0xc8
je 0x43266b
cmp eax, 0xc9
je 0x43266b
cmp eax, 0xcc
je 0x43271f
mov dword [ebp - 0x38f8], 9
jmp 0x43271f
cmp eax, 0xcc
je 0x43271f
push dword [sym.imp.WININET.dll_InternetReadFile]
xor edx, edx
mov ecx, esi
push ebx
push ebx
call fcn.0041aa38
add esp, 0xc
jmp 0x43271f
cmp edi, 3
jne 0x4326d1
lea eax, [ebp - 0x3928]
push eax
lea eax, [ebp - 0x392c]
push eax
lea eax, [ebp - 0x390c]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x43271f
cmp dword [ebp - 0x390c], 0xce
je 0x4326d1
cmp dword [ebp - 0x390c], 0xc8
jne 0x43271f
push dword [sym.imp.WININET.dll_InternetReadFile]
xor eax, eax
mov edx, ebx
push eax
push dword [ebp - 0x3910]
mov ecx, esi
call fcn.0041aa38
add esp, 0xc
jmp 0x432544
xor esi, esi
push esi
push dword [ebp - 0x3930]
push edx
mov edx, dword [ebp - 0x3900]
push ecx
push ebx
mov ecx, eax
call fcn.00430e48
add esp, 0x14
mov dword [ebp - 0x38f8], eax
jmp 0x43275d
mov dword [ebp - 0x38f8], 0x57
test esi, esi
je 0x43272a
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x391c]
test eax, eax
je 0x43273b
push eax
call fcn.00445d2e
pop ecx
mov eax, dword [ebp - 0x3934]
test eax, eax
je 0x43274c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x38fc]
test esi, esi
je 0x43275d
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x38f8]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3940]
lea ecx, [ecx - 0x10]
call fcn.00406985
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x3908]
add ecx, 0xfffffff0
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3988]
call fcn.0041bbc1
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.0043fc0b
leave
ret