Function at 0x465400
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:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
mov edi, 0x84000000
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x46542d
cmp eax, 9
jne 0x465432
add esi, 2
jmp 0x465420
cmp eax, 0x2a
jne 0x465483
add esi, 2
mov ecx, esi
call fcn.00410ac0
test al, al
je 0x465454
push 0x10
push 0
push esi
call fcn.004b2a02
add esp, 0xc
jmp 0x46545d
push esi
call fcn.004b2558
add esp, 4
mov edx, 0x4e2ac4
mov ecx, esi
mov edi, eax
call fcn.0040bad0
test eax, eax
je 0x465483
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x46547e
cmp eax, 9
jne 0x465483
add esi, 2
jmp 0x465471
push 0
push 0
push 0
push 4
push str.AutoHotkey
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4654cc
mov eax, dword [0x4f48cc]
test byte [eax + 0x100], 1
je 0x46554c
push 0x4cd2cc
push 0
push 0x4e25ec
mov ecx, ebx
call fcn.0043b880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push edi
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
jne 0x465517
push dword [esp + 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x4f48cc]
test byte [eax + 0x100], 1
je 0x46554c
mov ecx, dword [esp + 0x1c]
push 0x4cd2cc
push 0
push 0x4e25ec
call fcn.0043b880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4eb1d8
push dword [ebp + 0xc]
call fcn.004b7863
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x46556b
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x14]
call esi
mov eax, dword [0x4f48cc]
test byte [eax + 0x100], 1
jne 0x4654f9
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e25ec
call fcn.00495fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x68]
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
mov dword [esp + 0x38], eax
mov eax, dword fs:[0x24]
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x24], 0x28
mov dword [esp + 0x3c], 0x400
mov dword [esp + 0x20], eax
movzx eax, word [esi]
cmp eax, 0x68
je 0x465679
cmp eax, 0x48
je 0x465679
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
je 0x465731
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x10], 0
je 0x465731
call esi
mov ecx, dword [0x4f48cc]
sub eax, dword [0x4fa584]
cmp eax, dword [ecx + 0xd8]
jbe 0x46563d
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x465636
mov eax, dword [esp + 0x20]
cmp dword [0x4f9a38], eax
jne 0x465636
mov edx, 1
or ecx, 0xffffffff
call fcn.00401890
call esi
mov dword [0x4fa584], eax
push dword [esp + 0x18]
lea eax, [esp + 0x6c]
push 1
push dword [esp + 0x18]
push eax
call fcn.004b86e8
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
jne 0x4655e5
jmp 0x465731
push 0
push 8
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
mov edi, eax
test edi, edi
je 0x465731
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [eax]
cmp dword [esp + 0x3c], 0
je 0x465731
call esi
mov ecx, dword [0x4f48cc]
sub eax, dword [0x4fa584]
cmp eax, dword [ecx + 0xd8]
jbe 0x4656f8
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4656f1
mov eax, dword [esp + 0x20]
cmp dword [0x4f9a38], eax
jne 0x4656f1
mov edx, 1
or ecx, 0xffffffff
call fcn.00401890
call esi
mov dword [0x4fa584], eax
push dword [esp + 0x18]
lea eax, [esp + 0x6c]
push 1
push dword [esp + 0x44]
push eax
call fcn.004b86e8
add esp, 0x10
mov dword [esp + 0x3c], 0x400
lea eax, [esp + 0x24]
push 0
push 8
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
mov edi, eax
test edi, edi
jne 0x4656a0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
call fcn.004b845e
add esp, 4
test edi, edi
jne 0x46575b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
mov ecx, dword [esp + 0x1c]
sete al
movzx eax, al
push eax
call fcn.0043b920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8