Function at 0x452ec0
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
mov esi, dword [esp + 0x464]
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
mov ebp, 0x84000000
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x452eed
cmp eax, 9
jne 0x452ef2
add esi, 2
jmp 0x452ee0
cmp eax, 0x2a
jne 0x452f45
add esi, 2
mov ecx, esi
call fcn.0047b060
mov ebp, eax
mov ebx, esi
test esi, esi
je 0x452f41
movzx ecx, word [esi]
test cx, cx
je 0x452f41
mov edi, ecx
mov eax, 0x4c678c
mov edx, 0x20
nop dword [eax]
cmp di, dx
je 0x452f88
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x452f20
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x452f13
mov ebx, dword [esp + 0x10]
push 0
push 0
push 0
push 4
push str.AutoHotkey
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0x18], edi
push 0
test edi, edi
jne 0x452fa2
push ebx
push 0x4b431c
push 0
push str.Failed
mov ecx, 0x4dcd68
call fcn.004287a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov esi, ebx
nop word [eax + eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x452f9d
cmp eax, 9
jne 0x452f41
add esi, 2
jmp 0x452f90
push ebp
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
jne 0x452fc3
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push dword [esp + 0x14]
jmp 0x452f65
push 0x4cec04
push dword [esp + 0x470]
call fcn.0049f4c3
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x452ff7
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
push ebp
push dword [esp + 0x14]
jmp 0x452f65
lea eax, [esp + 0x60]
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
movzx eax, word [esi]
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x34], 0x400
cmp eax, 0x68
je 0x453118
cmp eax, 0x48
je 0x453118
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x68]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
je 0x4531b0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop word [eax + eax]
cmp dword [esp + 0x14], 0
je 0x4531b0
call esi
mov ecx, dword [0x4d78c8]
sub eax, dword [0x4dd444]
cmp eax, dword [ecx + 0x5c]
jbe 0x4530b9
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 0x4530b2
mov edx, 1
or ecx, 0xffffffff
call fcn.00401950
call esi
mov dword [0x4dd444], eax
push ebp
push 1
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push eax
call fcn.0049f6f9
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x68]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
jne 0x453070
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x18]
call esi
push ebp
call fcn.0049f7d3
add esp, 4
push dword [esp + 0x46c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [esp + 0x14]
jmp 0x452f65
mov ebp, dword [sym.imp.WININET.dll_InternetReadFileExA]
lea eax, [esp + 0x1c]
push 0
push 8
push eax
push ebx
call ebp
mov edi, eax
test edi, edi
je 0x4531ac
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x34], 0
je 0x4531ac
call esi
mov ecx, dword [0x4d78c8]
sub eax, dword [0x4dd444]
cmp eax, dword [ecx + 0x5c]
jbe 0x45317b
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 0x453174
mov edx, 1
or ecx, 0xffffffff
call fcn.00401950
call esi
mov dword [0x4dd444], eax
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push 1
push dword [esp + 0x3c]
push eax
call fcn.0049f6f9
add esp, 0x10
mov dword [esp + 0x34], 0x400
lea eax, [esp + 0x1c]
push 0
push 8
push eax
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x453136
mov ebp, dword [esp + 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x18]
call esi
push ebp
call fcn.0049f7d3
add esp, 4
test edi, edi
jne 0x4531e3
push dword [esp + 0x46c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [esp + 0x14]
jmp 0x452f65
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x454
ret 8