Function at 0x452960
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 0x45297b
cmp al, 9
jne 0x45297e
inc esi
jmp 0x452971
cmp byte [esi], 0x2a
jne 0x4529cd
inc esi
mov eax, esi
call fcn.0040edf0
test al, al
je 0x45299e
push 0x10
push 0
push esi
call fcn.00489c6e
add esp, 0xc
jmp 0x4529a7
push esi
call fcn.004891a1
add esp, 4
mov ebp, eax
mov edi, 0x49d1bc
mov eax, esi
call fcn.00409bf0
test eax, eax
je 0x4529cd
mov esi, eax
jmp 0x4529c0
mov al, byte [esi]
cmp al, 0x20
je 0x4529ca
cmp al, 9
jne 0x4529cd
inc esi
jmp 0x4529c0
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 0x452a40
mov eax, dword [0x4aa978]
test byte [eax + 0xe0], 1
jne 0x452a1b
mov ecx, dword [0x4aea5c]
push 1
push ebx
push 0xffffffffffffffff
push 0x49cf30
push ecx
call fcn.00477990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ecx, dword [esp + 0x468]
push 0x49b8bd
push 0
push 0x49cf30
call fcn.0042f770
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 0x452a8d
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [0x4aa978]
test byte [edx + 0xe0], 1
jne 0x452a1b
mov eax, dword [0x4aea5c]
push 1
push edi
push 0xffffffffffffffff
push 0x49cf30
push eax
call fcn.00477990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ecx, dword [esp + 0x46c]
push 0x4a17bc
push ecx
call fcn.0048a3b5
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x452ace
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
mov edx, dword [esp + 0x468]
push edx
call fcn.00432170
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
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
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x400
mov al, byte [esi]
cmp al, 0x68
je 0x452bc3
cmp al, 0x48
je 0x452bc3
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x68]
push edx
push edi
call ebx
mov esi, eax
test esi, esi
je 0x452c5c
cmp dword [esp + 0x14], 0
je 0x452c5c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4af84c]
mov ecx, dword [0x4aa978]
cmp eax, dword [ecx + 0xb8]
jbe 0x452b91
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 0x452b8a
push 1
push 0xffffffffffffffff
call fcn.00401420
add esp, 8
call esi
mov dword [0x4af84c], eax
mov eax, dword [esp + 0x14]
push ebp
push 1
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.0048a523
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x68]
push eax
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x452b40
jmp 0x452c5c
mov ebx, dword [sym.imp.WININET.dll_InternetReadFileExA]
push 0
push 8
lea ecx, [esp + 0x24]
push ecx
push edi
call ebx
mov esi, eax
test esi, esi
je 0x452c5c
nop
cmp dword [esp + 0x34], 0
je 0x452c5c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4af84c]
mov edx, dword [0x4aa978]
cmp eax, dword [edx + 0xb8]
jbe 0x452c2d
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 0x452c26
push 1
push 0xffffffffffffffff
call fcn.00401420
add esp, 8
call esi
mov dword [0x4af84c], eax
mov ecx, dword [esp + 0x34]
push ebp
push 1
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.0048a523
add esp, 0x10
push 0
push 8
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x44], 0x400
call ebx
mov esi, eax
test esi, esi
jne 0x452be0
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov ecx, dword [esp + 0x18]
push ecx
call edi
push ebp
call fcn.0048a60a
add esp, 4
test esi, esi
jne 0x452c89
mov edx, dword [esp + 0x46c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
mov edx, dword [esp + 0x468]
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042f810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8