Function at 0x471100
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 0x47112d
cmp eax, 9
jne 0x471132
add esi, 2
jmp 0x471120
cmp eax, 0x2a
jne 0x471185
add esi, 2
mov ecx, esi
call fcn.00404c80
test al, al
je 0x471155
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wcstoi64]
add esp, 0xc
jmp 0x47115f
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
add esp, 4
mov edx, 0x4d1604
mov ecx, esi
mov edi, eax
call fcn.004065e0
test eax, eax
je 0x471185
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x471180
cmp eax, 9
jne 0x471185
add esi, 2
jmp 0x471173
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 0x4711ce
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
je 0x47124f
push 0x4bac30
push 0
push 0x4d112c
mov ecx, ebx
call fcn.00448320
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 0x471219
push dword [esp + 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
je 0x47124f
mov ecx, dword [esp + 0x1c]
push 0x4bac30
push 0
push 0x4d112c
call fcn.00448320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4daca0
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x47126e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x14]
call esi
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
jne 0x4711fb
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a19e0
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 0x471385
cmp eax, 0x48
je 0x471385
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 0x471437
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [eax + eax]
cmp dword [esp + 0x10], 0
je 0x471437
call esi
mov ecx, dword [0x4e40f4]
sub eax, dword [0x4e9694]
cmp eax, dword [ecx + 0xd8]
jbe 0x471348
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 0x471341
mov eax, dword [esp + 0x20]
cmp dword [0x4e82ec], eax
jne 0x471341
mov edx, 1
or ecx, 0xffffffff
call fcn.004019f0
call esi
mov dword [0x4e9694], eax
push dword [esp + 0x18]
lea eax, [esp + 0x6c]
push 1
push dword [esp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
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 0x4712f0
jmp 0x471437
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 0x471437
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x3c], 0
je 0x471437
call esi
mov ecx, dword [0x4e40f4]
sub eax, dword [0x4e9694]
cmp eax, dword [ecx + 0xd8]
jbe 0x4713fd
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 0x4713f6
mov eax, dword [esp + 0x20]
cmp dword [0x4e82ec], eax
jne 0x4713f6
mov edx, 1
or ecx, 0xffffffff
call fcn.004019f0
call esi
mov dword [0x4e9694], eax
push dword [esp + 0x18]
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 0x4713a5
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
jne 0x471462
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.004483c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8