Function at 0x47a270
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, 0x84000000
push edi
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0x20
je 0x47a29a
cmp al, 9
jne 0x47a29d
inc esi
jmp 0x47a290
cmp al, 0x2a
jne 0x47a32c
inc esi
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x47a2b2
cmp al, 9
jne 0x47a2b5
inc ecx
jmp 0x47a2a8
test al, al
je 0x47a2f9
cmp al, 0x2d
je 0x47a2c1
cmp al, 0x2b
jne 0x47a2c8
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x47a2f9
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x47a2d7
cmp al, 0x58
jne 0x47a2f9
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x47a2f9
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoi64]
add esp, 0xc
jmp 0x47a303
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
add esp, 4
mov ebx, eax
mov edi, esi
test esi, esi
je 0x47a32c
mov dl, byte [esi]
test dl, dl
je 0x47a32c
mov ecx, 0x4c98e4
mov al, 0x20
cmp dl, al
je 0x47a375
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x47a318
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x47a311
push 0
push 0
push 0
push 4
push str.AutoHotkey
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
jne 0x47a3a2
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x47a384
mov ecx, dword [0x4d995c]
push 1
push edi
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x47a381
cmp al, 9
jne 0x47a32c
inc esi
jmp 0x47a377
mov ecx, dword [esp + 0x14]
push 0x4c3c29
push 0
push 0x4c40b0
call fcn.0044d1f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push ebx
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
jne 0x47a3ea
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x47a384
mov ecx, dword [0x4d995c]
push 1
push ebx
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4cec44
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x47a440
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x47a384
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x68]
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x24]
mov dword [esp + 0x1c], eax
mov al, byte [esi]
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
cmp al, 0x68
je 0x47a571
cmp al, 0x48
je 0x47a571
lea eax, [esp + 0x18]
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 0x47a623
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop word [eax + eax]
cmp dword [esp + 0x18], 0
je 0x47a623
call esi
mov ecx, dword [0x4d70f4]
sub eax, dword [0x4dc0ec]
cmp eax, dword [ecx + 0xb8]
jbe 0x47a518
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x47a511
mov eax, dword [esp + 0x1c]
cmp dword [0x4dba60], eax
jne 0x47a511
mov edx, 1
or ecx, 0xffffffff
call fcn.00401870
call esi
mov dword [0x4dc0ec], eax
push dword [esp + 0x10]
lea eax, [esp + 0x6c]
push 1
push dword [esp + 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
lea eax, [esp + 0x18]
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 0x47a4c0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x47a643
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 0x47a623
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x3c], 0
je 0x47a623
call esi
mov ecx, dword [0x4d70f4]
sub eax, dword [0x4dc0ec]
cmp eax, dword [ecx + 0xb8]
jbe 0x47a5e9
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x47a5e2
mov eax, dword [esp + 0x1c]
cmp dword [0x4dba60], eax
jne 0x47a5e2
mov edx, 1
or ecx, 0xffffffff
call fcn.00401870
call esi
mov dword [0x4dc0ec], eax
push dword [esp + 0x10]
lea eax, [esp + 0x6c]
push 1
push dword [esp + 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
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 0x47a591
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
jne 0x47a67d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x47a384
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8