Function at 0x454950
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 0x45496e
cmp eax, 9
jne 0x454973
add esi, 2
jmp 0x454961
cmp word [esi], 0x2a
jne 0x4549c5
add esi, 2
mov eax, esi
call fcn.0040ef50
test al, al
je 0x454996
push 0x10
push 0
push esi
call fcn.00491d13
add esp, 0xc
jmp 0x45499f
push esi
call fcn.004912f1
add esp, 4
mov edi, eax
mov ebx, 0x4a681c
mov eax, esi
call fcn.00409ab0
test eax, eax
je 0x4549c5
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x4549c0
cmp eax, 9
jne 0x4549c5
add esi, 2
jmp 0x4549b3
push 0
push 0
push 0
push 4
push str.AutoHotkey
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x454a38
mov eax, dword [0x4c6a44]
test byte [eax + 0x100], 1
jne 0x454a13
mov ecx, dword [0x4cad6c]
push 1
push ebp
push 0xffffffffffffffff
push 0x4a6324
push ecx
call fcn.004797c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ecx, dword [esp + 0x468]
push 0x4a3890
push 0
push 0x4a6324
call fcn.004302a0
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 0x454a85
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [0x4c6a44]
test byte [edx + 0x100], 1
jne 0x454a13
mov eax, dword [0x4cad6c]
push 1
push edi
push 0xffffffffffffffff
push 0x4a6324
push eax
call fcn.004797c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov ecx, dword [esp + 0x46c]
push 0x4ae640
push ecx
call fcn.00492379
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x454ac6
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
mov edx, dword [esp + 0x468]
push edx
call fcn.00432d30
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
movzx eax, word [esi]
cmp eax, 0x68
je 0x454bbe
cmp eax, 0x48
je 0x454bbe
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x68]
push edx
push edi
call ebp
mov esi, eax
test esi, esi
je 0x454c52
cmp dword [esp + 0x14], 0
je 0x454c52
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4cc004]
mov ecx, dword [0x4c6a44]
cmp eax, dword [ecx + 0xd8]
jbe 0x454b8c
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 0x454b85
push 1
push 0xffffffffffffffff
call fcn.004013d0
add esp, 8
call esi
mov dword [0x4cc004], eax
mov eax, dword [esp + 0x14]
push ebx
push 1
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.004924e7
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x68]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x454b3b
jmp 0x454c52
mov ebp, dword [sym.imp.WININET.dll_InternetReadFileExA]
push 0
push 8
lea ecx, [esp + 0x24]
push ecx
push edi
call ebp
mov esi, eax
test esi, esi
je 0x454c52
cmp dword [esp + 0x34], 0
je 0x454c52
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4cc004]
mov edx, dword [0x4c6a44]
cmp eax, dword [edx + 0xd8]
jbe 0x454c23
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 0x454c1c
push 1
push 0xffffffffffffffff
call fcn.004013d0
add esp, 8
call esi
mov dword [0x4cc004], eax
mov ecx, dword [esp + 0x34]
push ebx
push 1
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.004924e7
add esp, 0x10
push 0
push 8
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x44], 0x400
call ebp
mov esi, eax
test esi, esi
jne 0x454bd6
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov ecx, dword [esp + 0x18]
push ecx
call edi
push ebx
call fcn.004925ce
add esp, 4
test esi, esi
jne 0x454c7f
mov edx, dword [esp + 0x46c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
mov edx, dword [esp + 0x468]
sete al
movzx ecx, al
push ecx
push edx
call fcn.00430340
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8