Function at 0x46ff00
Capabilities:
Check for time delay via gettickcount
Delete file
Link many functions at runtime
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
push ebx
push esi
push edi
mov esi, ecx
push str.wininet
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x46ff5e
mov eax, dword [0x4e211c]
test byte [eax + 0x100], 1
jne 0x46ff57
mov ecx, dword [0x4e4b80]
push 1
push 0
push 0xffffffffffffffff
push 0x4cefc4
call fcn.004a0110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
jmp 0x47007f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenW
push ebx
call esi
push str.InternetOpenUrlW
push ebx
mov dword [esp + 0x18], eax
call esi
push str.InternetCloseHandle
push ebx
mov edi, eax
call esi
push str.InternetReadFileExA
push ebx
mov dword [esp + 0x24], eax
call esi
push str.InternetReadFile
push ebx
mov dword [esp + 0x28], eax
call esi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x28], eax
je 0x470062
test edi, edi
je 0x470062
cmp dword [esp + 0x1c], 0
je 0x470062
cmp dword [esp + 0x20], 0
je 0x470062
test eax, eax
je 0x470062
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 0x84000000
nop word [eax + eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x46ffed
cmp eax, 9
jne 0x46fff2
add esi, 2
jmp 0x46ffe0
cmp eax, 0x2a
jne 0x470029
add esi, 2
mov ecx, esi
call fcn.00404ab0
mov edx, 0x4cf49c
mov dword [esp + 0xc], eax
mov ecx, esi
call fcn.00406460
test eax, eax
je 0x470029
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x470024
cmp eax, 9
jne 0x470029
add esi, 2
jmp 0x470017
push 0
push 0
push 0
push 4
push str.AutoHotkey
call dword [esp + 0x24]
mov dword [esp + 0x24], eax
test eax, eax
je 0x470062
push 0
push dword [esp + 0x10]
push 0
push 0
push esi
push eax
call edi
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x470099
push dword [esp + 0x24]
call dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4e211c]
test byte [eax + 0x100], 1
je 0x46ff38
mov ecx, dword [esp + 0x18]
push 0x4b8c14
push 0
push 0x4cefc4
call fcn.004473a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4d8754
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 0x4700c1
mov esi, dword [esp + 0x1c]
push edi
call esi
push dword [esp + 0x24]
call esi
jmp 0x470062
lea eax, [esp + 0x78]
mov dword [esp + 0x58], 0
xorps xmm0, xmm0
mov dword [esp + 0x48], eax
mov eax, dword fs:[0x24]
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x4c], 0x400
mov dword [esp + 0x2c], eax
movzx eax, word [esi]
cmp eax, 0x68
je 0x4701d9
cmp eax, 0x48
je 0x4701d9
lea eax, [esp + 0xc]
push eax
push 0x400
lea eax, [esp + 0x80]
push eax
push edi
call dword [esp + 0x38]
mov esi, eax
test esi, esi
je 0x470298
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [eax]
cmp dword [esp + 0xc], 0
je 0x470294
call edi
mov ecx, dword [0x4e211c]
sub eax, dword [0x4e786c]
cmp eax, dword [ecx + 0xd8]
jbe 0x470198
push 0
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x470191
mov eax, dword [esp + 0x2c]
cmp dword [0x4e6ce0], eax
jne 0x470191
mov edx, 1
or ecx, 0xffffffff
call fcn.00401a30
call edi
mov dword [0x4e786c], eax
push dword [esp + 0x10]
lea eax, [esp + 0x7c]
push 1
push dword [esp + 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push 0x400
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x20]
call dword [esp + 0x38]
mov esi, eax
test esi, esi
jne 0x470140
jmp 0x470294
push 0
push 8
lea eax, [esp + 0x3c]
push eax
push edi
call dword [esp + 0x30]
mov esi, eax
test esi, esi
je 0x470298
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x14]
nop dword [eax + eax]
cmp dword [esp + 0x4c], 0
je 0x470290
call edi
mov ecx, dword [0x4e211c]
sub eax, dword [0x4e786c]
cmp eax, dword [ecx + 0xd8]
jbe 0x470258
push 0
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x470251
mov eax, dword [esp + 0x2c]
cmp dword [0x4e6ce0], eax
jne 0x470251
mov edx, 1
or ecx, 0xffffffff
call fcn.00401a30
call edi
mov dword [0x4e786c], eax
push dword [esp + 0x10]
lea eax, [esp + 0x7c]
push 1
push dword [esp + 0x54]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov dword [esp + 0x4c], 0x400
lea eax, [esp + 0x34]
push 0
push 8
push eax
push ebx
call dword [esp + 0x30]
mov esi, eax
test esi, esi
jne 0x470200
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x20]
call edi
push dword [esp + 0x24]
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test esi, esi
jne 0x4702c8
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
mov ecx, dword [esp + 0x18]
sete al
movzx eax, al
push eax
call fcn.00447440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8