Function at 0x45db90
Capabilities:
Check for time delay via gettickcount
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x454
push ebx
push ebp
push esi
push edi
mov edi, 0x84000000
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x45dbae
cmp eax, 9
jne 0x45dbb3
add esi, 2
jmp 0x45dba1
cmp word [esi], 0x2a
jne 0x45dc05
add esi, 2
mov eax, esi
call fcn.00404010
test al, al
je 0x45dbd6
push 0x10
push 0
push esi
call fcn.0049a060
add esp, 0xc
jmp 0x45dbdf
push esi
call fcn.0049a0d8
add esp, 4
mov edi, eax
mov ebx, 0x4b3acc
mov eax, esi
call fcn.0040558a
test eax, eax
je 0x45dc05
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x45dc00
cmp eax, 9
jne 0x45dc05
add esi, 2
jmp 0x45dbf3
push 0
push 0
push 0
push 4
push 0x4afa70
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x45dc78
mov eax, dword [0x4d5b14]
test byte [eax + 0x100], 1
jne 0x45dc53
mov ecx, dword [0x4d9f14]
push 1
push ebp
push 0xffffffffffffffff
push 0x4b35d4
push ecx
call fcn.00483320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ebx, dword [esp + 0x468]
push 0x4b0cf8
push 0
push 0x4b35d4
call fcn.00439cd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
push 0
push edi
push 0
push 0
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
jne 0x45dcc5
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [0x4d5b14]
test byte [edx + 0x100], 1
jne 0x45dc53
mov eax, dword [0x4d9f14]
push 1
push edi
push 0xffffffffffffffff
push 0x4b35d4
push eax
call fcn.00483320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ecx, dword [esp + 0x46c]
push 0x4bc870
push ecx
call fcn.0049c8ef
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45dd05
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
mov ebx, dword [esp + 0x468]
call fcn.0043bee0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x60]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x400
movzx eax, word [esi]
cmp eax, 0x68
je 0x45ddfb
cmp eax, 0x48
je 0x45ddfb
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x14]
push eax
push 0x400
mov ecx, edx
push ecx
push edi
call ebp
mov esi, eax
test esi, esi
je 0x45de8f
cmp dword [esp + 0x14], 0
je 0x45de8f
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
sub eax, dword [0x4db234]
mov edx, dword [0x4d5b14]
cmp eax, dword [edx + 0xd8]
jbe 0x45ddc9
push 0
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45ddc2
push 1
push 0xffffffffffffffff
call fcn.004014c0
add esp, 8
call esi
mov dword [0x4db234], eax
mov ecx, dword [esp + 0x14]
push ebx
push 1
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.0049ca5d
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x68]
push ecx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x45dd78
jmp 0x45de8f
mov ebp, dword [sym.imp.WININET.dll_InternetReadFileExA]
push 0
push 8
lea edx, [esp + 0x24]
push edx
push edi
call ebp
mov esi, eax
test esi, esi
je 0x45de8f
cmp dword [esp + 0x34], 0
je 0x45de8f
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
sub eax, dword [0x4db234]
mov ecx, dword [0x4d5b14]
cmp eax, dword [ecx + 0xd8]
jbe 0x45de60
push 0
push 0
push 0
push 0
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45de59
push 1
push 0xffffffffffffffff
call fcn.004014c0
add esp, 8
call esi
mov dword [0x4db234], eax
mov eax, dword [esp + 0x34]
push ebx
push 1
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.0049ca5d
add esp, 0x10
push 0
push 8
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x44], 0x400
call ebp
mov esi, eax
test esi, esi
jne 0x45de13
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
push ebx
call fcn.0049cb44
add esp, 4
test esi, esi
jne 0x45debc
mov ecx, dword [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test esi, esi
mov ebx, dword [esp + 0x468]
sete dl
movzx eax, dl
push eax
call fcn.00439dd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8