Function at 0x435a0c
Capabilities:
Connect to http server
Create http request
Delete file
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482b02
mov eax, dword fs:[0]
push eax
mov eax, 0x399c
call fcn.00456930
mov eax, dword [0x4bf100]
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.0041e6cc
xor edx, edx
mov dword [ebp - 0x3918], edx
mov dword [ebp - 4], edx
lea edi, [ebp - 0x38f4]
mov eax, dword [0x4c2500]
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.00457e10
add esp, 0xc
lea ecx, [ebp - 0x3904]
call fcn.0040aaed
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3938]
call fcn.0040aaed
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 0x43624d
test esi, esi
je 0x43624d
cmp word [esi], dx
je 0x43624d
mov ecx, dword [ebp - 0x390c]
mov eax, dword [ebp - 0x3914]
test ecx, ecx
je 0x435bd2
test eax, eax
je 0x43624d
cmp ebx, 5
je 0x43622a
cmp ebx, 6
je 0x43622a
push esi
push str.Downloading:__s
call fcn.0041e1d8
mov eax, dword [ebp - 0x3914]
xor ebx, ebx
pop ecx
pop ecx
test eax, eax
je 0x435c16
cmp dword [ebp - 0x390c], edi
jne 0x435c16
mov edi, eax
mov dword [ebp - 0x3910], edi
cmp word [eax], bx
je 0x43624d
cmp dword [0x4c2430], 0
jle 0x435c2e
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x436257
cmp byte [0x4c2510], 0
jne 0x435c51
push ebx
push ebx
push ebx
push ebx
push dword [0x4c2490]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x3924], ebx
jmp 0x435c97
movzx eax, word [0x4c2518]
push eax
push dword [0x4c2514]
lea eax, [ebp - 0x28d0]
push str._s:_hu
push 0x800
push eax
call fcn.0040a338
add esp, 0x14
lea eax, [ebp - 0x28d0]
push ebx
push ebx
push eax
push 3
push dword [0x4c2490]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x3924], eax
test ebx, ebx
je 0x436257
cmp dword [0x4c2430], 0
jle 0x435cb7
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x436221
push 4
lea eax, [ebp - 0x391c]
push eax
push 2
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x436221
push 4
lea eax, [ebp - 0x391c]
push eax
push 6
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x436221
push 4
lea eax, [ebp - 0x391c]
push eax
push 5
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x436221
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x3918]
jne 0x435d0a
sub ecx, edx
sar ecx, 1
imul eax, ecx, 3
push 2
mov dword [ebp - 0x3920], eax
inc eax
push eax
call fcn.0046cd7a
mov dword [ebp - 0x3918], eax
pop ecx
pop ecx
test eax, eax
jne 0x435d4a
mov dword [ebp - 0x38f8], 8
jmp 0x436221
push 0x2000000
lea ecx, [ebp - 0x3920]
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
je 0x436204
test edi, edi
je 0x435d90
lea eax, [ebp - 0x38f4]
push eax
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x435d90
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 0x435e16
test edi, edi
je 0x435e16
cmp dword [ebp - 0x38d4], 0
push 9
pop edi
je 0x435ddd
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 0x435e16
cmp eax, 0x20
je 0x435dcb
cmp eax, 5
jne 0x435e16
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x435da9
jmp 0x435e16
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 0x435e10
cmp eax, 0x20
je 0x435e00
cmp eax, 5
jne 0x435e10
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x435de3
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 0x435e40
mov dword [ebp - 0x38f8], 0xb
jmp 0x436204
mov eax, dword [ebp - 0x3968]
sub eax, 1
je 0x435ea1
sub eax, 1
je 0x435e82
sub eax, 1
je 0x435e5a
sub eax, 1
jne 0x435eba
cmp word [ebp - 0x395c], 0
jne 0x435e7e
cmp dword [ebp - 0x3968], 3
jne 0x435e72
push 0x50
pop eax
jmp 0x435e77
mov eax, 0x1bb
mov word [ebp - 0x395c], ax
push 3
jmp 0x435e98
cmp word [ebp - 0x395c], 0
jne 0x435e96
push 0x46
pop eax
mov word [ebp - 0x395c], ax
push 2
pop esi
mov dword [ebp - 0x3900], esi
jmp 0x435ec0
cmp word [ebp - 0x395c], 0
jne 0x435eb5
push 0x15
pop eax
mov word [ebp - 0x395c], ax
xor esi, esi
inc esi
jmp 0x435e99
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 0x436204
cmp byte [0x4c251a], 0
je 0x435f40
mov ecx, dword [0x4c251c]
push dword [ecx - 0xc]
push ecx
push 0x2b
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x436204
mov eax, dword [0x4c2520]
push dword [eax - 0xc]
push eax
push 0x2c
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x436204
lea eax, [ebp - 0x38d0]
push eax
lea ecx, [ebp - 0x3904]
call fcn.0040a676
lea eax, [ebp - 0x18d0]
push eax
lea ecx, [ebp - 0x3904]
call fcn.0041cdf8
mov eax, esi
sub eax, 1
je 0x43607d
sub eax, 1
je 0x436058
sub eax, 1
jne 0x436204
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, 0x4afdfc
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 0x436204
mov eax, dword [ebp - 0x3934]
test eax, eax
je 0x435fe9
push 0x10000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x4361fd
xor eax, eax
cmp dword [ebp - 0x38fc], eax
jne 0x436044
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 0x436016
mov eax, dword [eax]
jmp 0x43601c
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 0x4360ae
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x4360a4
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4360ae
jmp 0x4361fd
cmp dword [ebp - 0x38fc], 1
jne 0x436204
xor eax, eax
push eax
push 0x84000000
push eax
push dword [ebp - 0x3904]
push edi
call dword [sym.imp.WININET.dll_GopherOpenFileW]
jmp 0x4360a4
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 0x436204
mov edi, dword [ebp - 0x3914]
test edi, edi
jne 0x4360bf
xor eax, eax
jmp 0x4361f7
cmp dword [0x4c2430], 0
jle 0x4360d7
mov dword [ebp - 0x38f8], 0x2e3
jmp 0x4361fd
cmp dword [ebp - 0x38fc], 0
jne 0x436196
push dword [sym.imp.WININET.dll_InternetWriteFile]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x390c]
call fcn.0041d399
mov dword [ebp - 0x38f8], eax
pop ecx
pop ecx
test eax, eax
jne 0x4361fd
cmp dword [ebp - 0x3900], 3
jne 0x4361fd
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 0x4361fd
mov eax, dword [ebp - 0x3908]
cmp eax, 0xc8
je 0x436177
cmp eax, 0xc9
je 0x436177
cmp eax, 0xcc
je 0x4361fd
mov dword [ebp - 0x38f8], 9
jmp 0x4361fd
cmp eax, 0xcc
je 0x4361fd
push dword [sym.imp.WININET.dll_InternetReadFile]
xor eax, eax
xor edx, edx
push eax
push eax
mov ecx, esi
call fcn.0041d585
add esp, 0xc
jmp 0x4361fd
cmp dword [ebp - 0x3900], 3
jne 0x4361dc
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 0x4361fd
cmp dword [ebp - 0x3908], 0xce
je 0x4361dc
cmp dword [ebp - 0x3908], 0xc8
jne 0x4361fd
push dword [sym.imp.WININET.dll_InternetReadFile]
xor eax, eax
mov edx, edi
push eax
push dword [ebp - 0x390c]
mov ecx, esi
call fcn.0041d585
add esp, 0xc
mov dword [ebp - 0x38f8], eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x3918]
call fcn.0045f917
mov eax, dword [ebp - 0x3930]
pop ecx
test eax, eax
je 0x436221
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x436257
push edx
push edx
push dword [ebp - 0x3934]
mov edx, dword [ebp - 0x38fc]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00434904
add esp, 0x18
mov dword [ebp - 0x38f8], eax
jmp 0x436257
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.0040aacb
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x3904]
add ecx, 0xfffffff0
call fcn.0040aacb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3980]
call fcn.0041e740
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.00455c9e
leave
ret