Function at 0x43c120
Capabilities:
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
and esp, 0xfffffff8
mov eax, 0x1f42c
call fcn.0045c430
mov eax, dword [0x4a8800]
xor eax, esp
mov dword [esp + 0x1f428], eax
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x60], eax
jne 0x43c159
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push 0
push 0x495130
push dword [esi + 0x14]
lea edi, [esi + 4]
push 0
mov ecx, edi
call fcn.00422af0
test eax, eax
je 0x43c353
push 0
push 0x495130
push dword [esi + 0x2c]
lea ecx, [esi + 0x1c]
push 0
call fcn.00422af0
test eax, eax
je 0x43c353
mov ecx, esi
call fcn.0043c420
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x43c36a
push 0x1f3ff
lea eax, [esp + 0x35]
mov byte [esp + 0x34], 0
push 0
push eax
call fcn.0045c460
add esp, 0xc
mov dword [esp + 0x10], 0
mov dword [esi + 0x48], 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
cmp dword [edi + 0x14], 8
jb 0x43c1e4
mov edi, dword [edi]
push 0x4954cc
push edi
call fcn.0045df28
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x43c392
xor eax, eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push 0x1f400
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
je 0x43c26c
mov ecx, dword [esp + 0x10]
cmp ecx, 0x1f400
je 0x43c288
mov eax, dword [esi + 0x48]
add eax, ecx
cmp eax, dword [esi + 0x44]
je 0x43c288
mov dword [esp + 0x2c], ebx
mov edi, 4
mov eax, edi
dec edi
test eax, eax
je 0x43c264
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0043c420
mov ebx, eax
test ebx, ebx
je 0x43c243
jmp 0x43c2b7
test ebx, ebx
jne 0x43c2b7
mov edi, dword [esp + 0x2c]
mov ecx, esi
call fcn.0043bfa0
test eax, eax
je 0x43c3de
mov ebx, 1
test edi, edi
je 0x43c2b7
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x43c2bb
push dword [esp + 0x28]
add dword [esi + 0x48], ecx
lea eax, [esp + 0x34]
push ecx
push 1
push eax
call fcn.0045d567
mov eax, dword [esi + 0x34]
add esp, 0x10
test eax, eax
je 0x43c2b7
push dword [esp + 0x10]
call eax
add esp, 4
test al, al
je 0x43c2d5
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x44]
je 0x43c2dd
test ecx, ecx
jne 0x43c204
test ebx, ebx
jne 0x43c204
jmp 0x43c2dd
mov dword [esp + 0x24], 1
mov ebx, dword [esp + 0x28]
push 2
push 0
push ebx
call fcn.004610c2
add esp, 0xc
push ebx
call fcn.00460fc7
add esp, 4
mov edi, eax
push ebx
call fcn.0045c6d2
mov ebx, dword [esp + 0x28]
add esp, 4
test ebx, ebx
jne 0x43c31b
mov ecx, dword [esi + 0x44]
cmp edi, ecx
jb 0x43c316
cmp dword [esi + 0x48], ecx
je 0x43c31b
mov ebx, 3
mov eax, dword [esi + 0x40]
test eax, eax
je 0x43c329
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x64], eax
sub eax, dword [esi + 0x60]
mov dword [esi + 0x68], eax
test ebx, ebx
jne 0x43c3ba
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f428]
xor ecx, esp
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1f434]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
call fcn.0045b11a
push 0x49f71c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], vtable.InetErr.0
push eax
mov dword [esp + 0x28], 4
call fcn.0045b204
lea ecx, [esp + 0x14]
call fcn.0045b11a
push 0x49f71c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], vtable.InetErr.0
push eax
mov dword [esp + 0x28], 5
call fcn.0045b204
lea ecx, [esp + 0x14]
call fcn.0045b11a
push 0x49f71c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], vtable.InetErr.0
push eax
mov dword [esp + 0x28], ebx
call fcn.0045b204
lea ecx, [esp + 0x14]
call fcn.0045b11a
push 0x49f71c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], vtable.InetErr.0
push eax
mov dword [esp + 0x28], 4
call fcn.0045b204
int3