Function at 0x45d8b0
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 ebp, 0x84000000
mov esi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x45d8cb
cmp al, 9
jne 0x45d8ce
inc esi
jmp 0x45d8c1
cmp byte [esi], 0x2a
jne 0x45d91d
inc esi
mov eax, esi
call fcn.00404090
test al, al
je 0x45d8ee
push 0x10
push 0
push esi
call fcn.0049316b
add esp, 0xc
jmp 0x45d8f7
push esi
call fcn.004931e3
add esp, 4
mov ebp, eax
mov edi, 0x4aa2d4
mov eax, esi
call fcn.004055c0
test eax, eax
je 0x45d91d
mov esi, eax
jmp 0x45d910
mov al, byte [esi]
cmp al, 0x20
je 0x45d91a
cmp al, 9
jne 0x45d91d
inc esi
jmp 0x45d910
push 0
push 0
push 0
push 4
push str.AutoHotkey
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x45d990
mov eax, dword [0x4b7a70]
test byte [eax + 0xe0], 1
jne 0x45d96b
mov ecx, dword [0x4bbc50]
push 1
push ebx
push 0xffffffffffffffff
push 0x4a7dfc
push ecx
call fcn.004828b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ebx, dword [esp + 0x468]
push 0x4a7935
push 0
push 0x4a7dfc
call fcn.0043b050
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
push 0
push ebp
push 0
push 0
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
jne 0x45d9dd
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [0x4b7a70]
test byte [edx + 0xe0], 1
jne 0x45d96b
mov eax, dword [0x4bbc50]
push 1
push edi
push 0xffffffffffffffff
push 0x4a7dfc
push eax
call fcn.004828b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ecx, dword [esp + 0x46c]
push 0x4af0a4
push ecx
call fcn.00495b2e
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x45da1d
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
mov ebx, dword [esp + 0x468]
call fcn.0043d050
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
mov al, byte [esi]
cmp al, 0x68
je 0x45db10
cmp al, 0x48
je 0x45db10
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x14]
push eax
push 0x400
mov ecx, edx
push ecx
push edi
call ebx
mov esi, eax
test esi, esi
je 0x45dba4
cmp dword [esp + 0x14], 0
je 0x45dba4
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4bcaa4]
mov edx, dword [0x4b7a70]
cmp eax, dword [edx + 0xb8]
jbe 0x45dade
push 0
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x45dad7
push 1
push 0xffffffffffffffff
call fcn.004014b0
add esp, 8
call esi
mov dword [0x4bcaa4], eax
mov ecx, dword [esp + 0x14]
push ebp
push 1
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.00495c9c
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x68]
push ecx
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x45da8d
jmp 0x45dba4
mov ebx, dword [sym.imp.WININET.dll_InternetReadFileExA]
push 0
push 8
lea edx, [esp + 0x24]
push edx
push edi
call ebx
mov esi, eax
test esi, esi
je 0x45dba4
cmp dword [esp + 0x34], 0
je 0x45dba4
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4bcaa4]
mov ecx, dword [0x4b7a70]
cmp eax, dword [ecx + 0xb8]
jbe 0x45db75
push 0
push 0
push 0
push 0
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x45db6e
push 1
push 0xffffffffffffffff
call fcn.004014b0
add esp, 8
call esi
mov dword [0x4bcaa4], eax
mov eax, dword [esp + 0x34]
push ebp
push 1
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.00495c9c
add esp, 0x10
push 0
push 8
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x44], 0x400
call ebx
mov esi, eax
test esi, esi
jne 0x45db28
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
push ebp
call fcn.00495d83
add esp, 4
test esi, esi
jne 0x45dbd1
mov ecx, dword [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
mov ebx, dword [esp + 0x468]
sete dl
movzx eax, dl
push eax
call fcn.0043b150
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8