Function at 0x433fd0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7636
mov eax, dword fs:[0]
push eax
mov eax, 0x30c4
call fcn.0057caa0
mov eax, dword [0x62f490]
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 ebx, edx
mov dword [ebp - 0x307c], ebx
mov edi, ecx
mov dword [ebp - 0x3084], edi
mov dword [ebp - 0x3088], 0
lea ecx, [ebp - 0x3060]
mov dword [ebp - 4], 1
call fcn.0040a1e0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
lea eax, [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3070], xmm0
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404770
lea ecx, [ebp - 0x30d0]
call fcn.00434fb0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x305c]
movzx eax, byte [esi]
mov byte [ebp - 0x3060], al
movzx eax, byte [esi + 1]
mov byte [ebp - 0x305f], al
lea eax, [esi + 4]
cmp ecx, eax
je 0x43409e
push 0xffffffffffffffff
push 0
push eax
call fcn.00404770
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x3044]
cmp ecx, eax
je 0x4340b5
push 0xffffffffffffffff
push 0
push eax
call fcn.00404770
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x302c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x3028], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x3020], eax
mov ecx, dword [esi + 0x44]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30a0], 0x10
mov dword [ebp - 0x3078], eax
mov dword [ebp - 0x3074], ecx
mov dword [ebp - 0x301c], ecx
jb 0x434118
push dword [ebp - 0x30b4]
call fcn.0044f788
mov ecx, dword [ebp - 0x301c]
add esp, 4
mov eax, dword [ebp - 0x3020]
mov dword [ebp - 0x3074], ecx
mov dword [ebp - 0x3078], eax
cmp dword [ebp - 0x30b8], 0x10
mov dword [ebp - 0x30a0], 0xf
mov dword [ebp - 0x30a4], 0
mov byte [ebp - 0x30b4], 0
jb 0x434162
push dword [ebp - 0x30cc]
call fcn.0044f788
mov ecx, dword [ebp - 0x301c]
add esp, 4
mov eax, dword [ebp - 0x3020]
mov dword [ebp - 0x3074], ecx
mov dword [ebp - 0x3078], eax
cmp byte [ebp - 0x3060], 0
je 0x4343e1
test ebx, ebx
je 0x43417e
push 0
push 0
push ecx
push eax
call ebx
add esp, 0x10
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434190
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
mov edx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x3064], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4341c0
sub ecx, dword [ebp - 0x3064]
lea eax, [ebp - 0x810]
push edx
push eax
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push 0
push 0x604d70
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
je 0x4343ad
push 0
push 0x4000000
push 0
push 0
lea ecx, [ebp - 0x810]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x3080], eax
test eax, eax
je 0x434317
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0x604d88
cmovae eax, dword [ebp + 0x20]
push eax
mov dword [ebp - 0x3014], 1
call fcn.0057982c
add esp, 8
mov dword [ebp - 0x3064], eax
test eax, eax
je 0x4342fe
mov esi, dword [ebp - 0x306c]
xor ebx, ebx
mov edi, dword [ebp - 0x3070]
cmp dword [ebp - 0x3014], ebx
jbe 0x4342ed
lea eax, [ebp - 0x3014]
inc ebx
push eax
push 0x27ff
lea eax, [ebp - 0x3010]
push eax
push dword [ebp - 0x3080]
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [ebp - 0x3064]
lea eax, [ebp - 0x3010]
push dword [ebp - 0x3014]
push 1
push eax
call fcn.0057a3eb
mov eax, dword [ebp - 0x3014]
add esp, 0x10
add edi, eax
adc esi, 0
cmp ebx, 0xa
jle 0x4342e3
mov ecx, dword [ebp - 0x307c]
test ecx, ecx
je 0x4342e1
push esi
push edi
push dword [ebp - 0x3074]
push dword [ebp - 0x3078]
call ecx
mov eax, dword [ebp - 0x3014]
add esp, 0x10
xor ebx, ebx
test eax, eax
jne 0x434271
mov eax, dword [ebp - 0x3064]
push eax
call fcn.0057a0a5
mov ebx, dword [ebp - 0x307c]
add esp, 4
jmp 0x43433c
push 0x604d8c
lea ecx, [ebp - 0x305c]
mov byte [ebp - 0x3060], 0
call fcn.004059d0
jmp 0x434330
push 0x18
push 0x604da4
lea ecx, [ebp - 0x305c]
mov byte [ebp - 0x3060], 0
call fcn.00404ba0
mov edi, dword [ebp - 0x3070]
mov esi, dword [ebp - 0x306c]
test ebx, ebx
je 0x434353
push esi
push edi
push dword [ebp - 0x301c]
push dword [ebp - 0x3020]
call ebx
add esp, 0x10
mov esi, dword [ebp - 0x3084]
lea eax, [ebp - 0x3060]
push eax
mov ecx, esi
call fcn.004132e0
lea ecx, [ebp - 0x3060]
call fcn.004066d0
cmp dword [ebp + 0x1c], 0x10
jb 0x434383
push dword [ebp + 8]
call fcn.0044f788
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x4343a6
push dword [ebp + 0x20]
call fcn.0044f788
add esp, 4
mov eax, esi
jmp 0x434489
push 0x17
push 0x604dc0
lea ecx, [ebp - 0x305c]
mov byte [ebp - 0x3060], 0
call fcn.00404ba0
lea eax, [ebp - 0x3060]
mov ecx, edi
push eax
call fcn.004132e0
lea ecx, [ebp - 0x3060]
call fcn.004066d0
jmp 0x434453
lea eax, [ebp - 0x3060]
mov ecx, edi
push eax
call fcn.004132e0
cmp dword [ebp - 0x3030], 0x10
jb 0x434406
push dword [ebp - 0x3044]
call fcn.0044f788
add esp, 4
cmp dword [ebp - 0x3048], 0x10
mov dword [ebp - 0x3030], 0xf
mov dword [ebp - 0x3034], 0
mov byte [ebp - 0x3044], 0
jb 0x434438
push dword [ebp - 0x305c]
call fcn.0044f788
add esp, 4
mov dword [ebp - 0x3048], 0xf
mov dword [ebp - 0x304c], 0
mov byte [ebp - 0x305c], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x434464
push dword [ebp + 8]
call fcn.0044f788
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov byte [ebp + 8], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
jb 0x434487
push dword [ebp + 0x20]
call fcn.0044f788
add esp, 4
mov eax, edi
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.00577678
mov esp, ebp
pop ebp
ret