Function at 0x47daa0
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]
movzx eax, word [esi]
cmp eax, 0x20
je 0x47dacd
cmp eax, 9
jne 0x47dad2
add esi, 2
jmp 0x47dac0
cmp eax, 0x2a
jne 0x47db35
add esi, 2
mov ecx, esi
call fcn.004054a0
mov dword [esp + 0x10], eax
mov ebx, esi
test esi, esi
je 0x47db31
movzx ecx, word [esi]
test cx, cx
je 0x47db31
mov edi, ecx
nop word [eax + eax]
mov ecx, 0x4e6614
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x47db7e
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x47db10
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x47db00
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 + 0x20], edi
test edi, edi
jne 0x47dbb0
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x47db92
mov ecx, dword [0x4fb9e4]
push 1
push edi
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, ebx
movzx eax, word [esi]
cmp eax, 0x20
je 0x47db8d
cmp eax, 9
jne 0x47db31
add esi, 2
jmp 0x47db80
mov ecx, dword [esp + 0x14]
push 0x4cfc30
push 0
push 0x4e613c
call fcn.0044e0b0
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_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
jne 0x47dbf8
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x47db92
mov ecx, dword [0x4fb9e4]
push 1
push ebx
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4efc50
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x47dc4e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x47db92
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b55f0
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
movzx eax, word [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 eax, 0x68
je 0x47dd81
cmp eax, 0x48
je 0x47dd81
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 0x47de33
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [eax + eax]
cmp dword [esp + 0x18], 0
je 0x47de33
call esi
mov ecx, dword [0x4f90f4]
sub eax, dword [0x4fe6ac]
cmp eax, dword [ecx + 0xd8]
jbe 0x47dd28
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 0x47dd21
mov eax, dword [esp + 0x1c]
cmp dword [0x4fdb70], eax
jne 0x47dd21
mov edx, 1
or ecx, 0xffffffff
call fcn.004018d0
call esi
mov dword [0x4fe6ac], 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 0x47dcd0
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 0x47de53
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 0x47de33
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x3c], 0
je 0x47de33
call esi
mov ecx, dword [0x4f90f4]
sub eax, dword [0x4fe6ac]
cmp eax, dword [ecx + 0xd8]
jbe 0x47ddf9
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 0x47ddf2
mov eax, dword [esp + 0x1c]
cmp dword [0x4fdb70], eax
jne 0x47ddf2
mov edx, 1
or ecx, 0xffffffff
call fcn.004018d0
call esi
mov dword [0x4fe6ac], 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 0x47dda1
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 0x47de8d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x47db92
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4cfcf8
call fcn.004b55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8