Function at 0x4350b0
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 0x4810f4
mov eax, dword fs:[0]
push eax
mov eax, 0x399c
call fcn.00454270
mov eax, dword [0x4a4100]
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 - 0x38fc], edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x3980]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3914], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x390c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3934], eax
lea eax, [ebp - 0x38f8]
push eax
push str.PerformRemoteOp
mov dword [ebp - 0x38f8], 0x4b1
call fcn.0041e3a4
xor edx, edx
mov dword [ebp - 0x3918], edx
mov dword [ebp - 4], edx
lea edi, [ebp - 0x38f4]
mov eax, dword [0x4a7428]
push 9
pop ecx
mov dword [ebp - 0x391c], eax
xor eax, eax
push 0x80
rep stosd dword es:[edi], eax
push edx
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x3930], edx
push eax
mov dword [ebp - 0x3920], edx
mov dword [ebp - 0x3908], edx
mov dword [ebp - 0x392c], 4
mov dword [ebp - 0x3928], edx
call fcn.004557e0
add esp, 0xc
lea ecx, [ebp - 0x3904]
call fcn.0040aa2d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3938]
call fcn.0040aa2d
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3970], eax
xor edx, edx
lea eax, [ebp - 0x28d0]
mov dword [ebp - 0x3900], edx
mov dword [ebp - 0x3964], eax
mov ecx, 0x400
xor eax, eax
mov dword [ebp - 0x3974], 0x3c
mov word [ebp - 0x395c], ax
lea eax, [ebp - 0x10d0]
mov dword [ebp - 0x3958], eax
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x3950], eax
lea eax, [ebp - 0x38d0]
mov dword [ebp - 0x3948], eax
mov edi, edx
mov dword [ebp - 0x3910], edi
lea eax, [ebp - 0x18d0]
mov dword [ebp - 0x396c], 0x20
mov dword [ebp - 0x3968], edx
mov dword [ebp - 0x3960], 0x800
mov dword [ebp - 0x3954], ecx
mov dword [ebp - 0x394c], ecx
mov dword [ebp - 0x3944], 0x800
mov dword [ebp - 0x3940], eax
mov dword [ebp - 0x393c], ecx
cmp ebx, 4
jl 0x4358f1
test esi, esi
je 0x4358f1
cmp word [esi], dx
je 0x4358f1
mov ecx, dword [ebp - 0x390c]
mov eax, dword [ebp - 0x3914]
test ecx, ecx
je 0x435276
test eax, eax
je 0x4358f1
cmp ebx, 5
je 0x4358ce
cmp ebx, 6
je 0x4358ce
push esi
push str.Downloading:__s
call fcn.0041defb
mov eax, dword [ebp - 0x3914]
xor ebx, ebx
pop ecx
pop ecx
test eax, eax
je 0x4352ba
cmp dword [ebp - 0x390c], edi
jne 0x4352ba
mov edi, eax
mov dword [ebp - 0x3910], edi
cmp word [eax], bx
je 0x4358f1
cmp dword [0x4a7368], 0
jle 0x4352d2
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x4358fb
cmp byte [0x4a7438], 0
jne 0x4352f5
push ebx
push ebx
push ebx
push ebx
push dword [0x4a73c0]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x3924], ebx
jmp 0x43533b
movzx eax, word [0x4a7440]
push eax
push dword [0x4a743c]
lea eax, [ebp - 0x28d0]
push str._s:_hu
push 0x800
push eax
call fcn.0040a284
add esp, 0x14
lea eax, [ebp - 0x28d0]
push ebx
push ebx
push eax
push 3
push dword [0x4a73c0]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x3924], eax
test ebx, ebx
je 0x4358fb
cmp dword [0x4a7368], 0
jle 0x43535b
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x4358c5
push 4
lea eax, [ebp - 0x391c]
push eax
push 2
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4358c5
push 4
lea eax, [ebp - 0x391c]
push eax
push 6
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4358c5
push 4
lea eax, [ebp - 0x391c]
push eax
push 5
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4358c5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x3918]
jne 0x4353ae
sub ecx, edx
sar ecx, 1
imul eax, ecx, 3
push 2
mov dword [ebp - 0x3920], eax
inc eax
push eax
call fcn.0046a83a
mov dword [ebp - 0x3918], eax
pop ecx
pop ecx
test eax, eax
jne 0x4353ee
mov dword [ebp - 0x38f8], 8
jmp 0x4358c5
push 0x2000000
lea ecx, [ebp - 0x3920]
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
je 0x4358a8
test edi, edi
je 0x435434
lea eax, [ebp - 0x38f4]
push eax
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x435434
push 9
pop ecx
lea edi, [ebp - 0x38f4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x3910]
cmp dword [ebp - 0x38fc], 1
jne 0x4354ba
test edi, edi
je 0x4354ba
cmp dword [ebp - 0x38d4], 0
push 9
pop edi
je 0x435481
push dword [ebp - 0x3910]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4354ba
cmp eax, 0x20
je 0x43546f
cmp eax, 5
jne 0x4354ba
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x43544d
jmp 0x4354ba
mov ebx, dword [ebp - 0x3910]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4354b4
cmp eax, 0x20
je 0x4354a4
cmp eax, 5
jne 0x4354b4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x435487
mov ebx, dword [ebp - 0x3924]
lea eax, [ebp - 0x3974]
push eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x3918]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4354e4
mov dword [ebp - 0x38f8], 0xb
jmp 0x4358a8
mov eax, dword [ebp - 0x3968]
sub eax, 1
je 0x435545
sub eax, 1
je 0x435526
sub eax, 1
je 0x4354fe
sub eax, 1
jne 0x43555e
cmp word [ebp - 0x395c], 0
jne 0x435522
cmp dword [ebp - 0x3968], 3
jne 0x435516
push 0x50
pop eax
jmp 0x43551b
mov eax, 0x1bb
mov word [ebp - 0x395c], ax
push 3
jmp 0x43553c
cmp word [ebp - 0x395c], 0
jne 0x43553a
push 0x46
pop eax
mov word [ebp - 0x395c], ax
push 2
pop esi
mov dword [ebp - 0x3900], esi
jmp 0x435564
cmp word [ebp - 0x395c], 0
jne 0x435559
push 0x15
pop eax
mov word [ebp - 0x395c], ax
xor esi, esi
inc esi
jmp 0x43553d
mov esi, dword [ebp - 0x3900]
xor eax, eax
mov ecx, 0x8000000
push eax
cmp esi, 1
cmove eax, ecx
push eax
push esi
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x10d0]
push eax
push dword [ebp - 0x395c]
lea eax, [ebp - 0x28d0]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [ebp - 0x3930], edi
test edi, edi
je 0x4358a8
cmp byte [0x4a7442], 0
je 0x4355e4
mov ecx, dword [0x4a7444]
push dword [ecx - 0xc]
push ecx
push 0x2b
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4358a8
mov eax, dword [0x4a7448]
push dword [eax - 0xc]
push eax
push 0x2c
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4358a8
lea eax, [ebp - 0x38d0]
push eax
lea ecx, [ebp - 0x3904]
call fcn.0040a5c2
lea eax, [ebp - 0x18d0]
push eax
lea ecx, [ebp - 0x3904]
call fcn.0041cb18
mov eax, esi
sub eax, 1
je 0x435721
sub eax, 1
je 0x4356fc
sub eax, 1
jne 0x4358a8
cmp dword [ebp - 0x3968], 4
mov ecx, 0x84c8f300
mov eax, 0x8448f300
cmove eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x38fc], 0
push ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x3904]
mov ecx, 0x49546c
mov eax, str.POST
cmovne eax, ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x4358a8
mov eax, dword [ebp - 0x3934]
test eax, eax
je 0x43568d
push 0x10000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x4358a1
xor eax, eax
cmp dword [ebp - 0x38fc], eax
jne 0x4356e8
push 9
pop ecx
lea edi, [ebp - 0x39a4]
mov dword [ebp - 0x39a8], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x390c]
test eax, eax
je 0x4356ba
mov eax, dword [eax]
jmp 0x4356c0
mov eax, dword [ebp - 0x38d4]
mov dword [ebp - 0x398c], eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x39a8]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x435752
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x435748
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x435752
jmp 0x4358a1
cmp dword [ebp - 0x38fc], 1
jne 0x4358a8
xor eax, eax
push eax
push 0x84000000
push eax
push dword [ebp - 0x3904]
push edi
call dword [sym.imp.WININET.dll_GopherOpenFileW]
jmp 0x435748
xor eax, eax
mov ecx, 0x40000000
cmp dword [ebp - 0x38fc], 0
push eax
push 2
mov eax, SysReAllocString
cmove eax, ecx
push eax
push dword [ebp - 0x3904]
push edi
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov esi, eax
test esi, esi
je 0x4358a8
mov edi, dword [ebp - 0x3914]
test edi, edi
jne 0x435763
xor eax, eax
jmp 0x43589b
cmp dword [0x4a7368], 0
jle 0x43577b
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x4358a1
cmp dword [ebp - 0x38fc], 0
jne 0x43583a
push dword [sym.imp.WININET.dll_InternetWriteFile]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x390c]
call fcn.0041d0c3
mov dword [ebp - 0x38f8], eax
pop ecx
pop ecx
test eax, eax
jne 0x4358a1
cmp dword [ebp - 0x3900], 3
jne 0x4358a1
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
lea eax, [ebp - 0x3928]
push eax
lea eax, [ebp - 0x392c]
push eax
lea eax, [ebp - 0x3908]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4358a1
mov eax, dword [ebp - 0x3908]
cmp eax, 0xc8
je 0x43581b
cmp eax, 0xc9
je 0x43581b
cmp eax, 0xcc
je 0x4358a1
mov dword [ebp - 0x38f8], 9
jmp 0x4358a1
cmp eax, 0xcc
je 0x4358a1
push dword [sym.imp.WININET.dll_InternetReadFile]
xor eax, eax
xor edx, edx
push eax
push eax
mov ecx, esi
call fcn.0041d2af
add esp, 0xc
jmp 0x4358a1
cmp dword [ebp - 0x3900], 3
jne 0x435880
lea eax, [ebp - 0x3928]
push eax
lea eax, [ebp - 0x392c]
push eax
lea eax, [ebp - 0x3908]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4358a1
cmp dword [ebp - 0x3908], 0xce
je 0x435880
cmp dword [ebp - 0x3908], 0xc8
jne 0x4358a1
push dword [sym.imp.WININET.dll_InternetReadFile]
xor eax, eax
mov edx, edi
push eax
push dword [ebp - 0x390c]
mov ecx, esi
call fcn.0041d2af
add esp, 0xc
mov dword [ebp - 0x38f8], eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x3918]
call fcn.0045d3d7
mov eax, dword [ebp - 0x3930]
pop ecx
test eax, eax
je 0x4358c5
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4358fb
push edx
push edx
push dword [ebp - 0x3934]
mov edx, dword [ebp - 0x38fc]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00433fab
add esp, 0x18
mov dword [ebp - 0x38f8], eax
jmp 0x4358fb
mov dword [ebp - 0x38f8], 0x57
mov esi, dword [ebp - 0x38f8]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3938]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x3904]
add ecx, 0xfffffff0
call fcn.0040aa0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3980]
call fcn.0041e418
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.0045360d
leave
ret