Function at 0x4013c9
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460694
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x185c
call fcn.0040ebc0
push ebx
push esi
push edi
mov dword [esp + 0x18], 0xc53a5ab
mov dword [esp + 0x28], 0x3d095a24
mov dword [esp + 0x3c], 0x15d2bd56
mov dword [esp + 0x38], 0x2fcdc455
mov dword [esp + 0x44], 0x211fce3a
mov dword [esp + 0x20], 0x2e807f5b
mov dword [esp + 0x24], 0x14fa4b7a
mov dword [esp + 0x10], 0x182f5bf1
mov dword [esp + 0x30], 0x15151052
mov dword [esp + 0x34], 0x1730d725
mov dword [esp + 0x2c], 0x55523153
mov dword [esp + 0x1c], 0xc09c736
mov dword [esp + 0x14], 0x42b69f0
mov dword [esp + 0x40], 0x1042a81a
sub dword [esp + 0x18], 0x31e89ad3
add dword [esp + 0x18], 0x73752cfc
mov eax, 0x503b8d50
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, 0x51ac3487
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, 0x75e779
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
add dword [esp + 0x28], 0x3dc3afe2
sub dword [esp + 0x3c], 0x2a0ea535
sub dword [esp + 0x28], 0x583b905f
add dword [esp + 0x18], 0x100bb3bf
add dword [esp + 0x18], 0x30a6110e
sub dword [esp + 0x18], 0x33f2b174
add dword [esp + 0x28], 0x10039ec6
add dword [esp + 0x38], 0x6ab2179c
add dword [esp + 0x38], 0x5016b8cb
add dword [esp + 0x38], 0x5abd0b60
sub dword [esp + 0x28], 0x4582744e
mov eax, 0x6db6c5c7
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x64e895e
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, 0x5d8f9ca8
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x20], 0x7d763ff7
add dword [esp + 0x44], 0x3754ea0
add dword [esp + 0x24], 0x4f00b9fd
add dword [esp + 0x20], 0x52ac564e
sub dword [esp + 0x38], 0x4f343ec
sub dword [esp + 0x20], 0x7ab273b2
sub dword [esp + 0x38], 0xe8723ec
sub dword [esp + 0x18], 0x4f12151e
mov eax, 0x98800c2
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x6d49dc25
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x7adb150d
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
add dword [esp + 0x20], 0x79988503
mov eax, 0x11486a0d
mul dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x2f204784
add dword [esp + 0x2c], 0x68e1984b
mov eax, 0x5328fa5a
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x4a827611
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
xor ebx, ebx
cmp dword [0x475954], 0x400
jne 0x401684
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push ebx
push ebx
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [esp + 0x868]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
push ebx
mov dword [esp + 0x1878], ebx
call fcn.0040213b
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00401770
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004019b0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004019ba
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401790
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401e00
fstp st(0)
or dword [esp + 0x187c], 0xffffffff
add esp, 8
cmp dword [esp + 0x64], 0x10
jb 0x401684
push dword [esp + 0x50]
call fcn.00401df3
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x207138
jg 0x4016ae
inc edi
cmp edi, 0x4f672
jl 0x40168c
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp esi, 0x2b257f
jg 0x4016c8
inc esi
cmp esi, 0x118bb
jl 0x4016b0
xor esi, esi
push ebx
lea eax, [esp + 0x106c]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp esi, 0x2af55e
jle 0x4016f7
cmp dword [esp + 0x48], 0x787c2215
jne 0x401700
inc esi
cmp esi, 0x4514
jl 0x4016ca
mov eax, dword [0x46905c]
mov dword [0x475954], eax
call fcn.00401160
mov esi, 0x3078f
cmp dword [0x475954], 0x51f
jne 0x401729
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
dec esi
jne 0x401714
mov ecx, dword [esp + 0x186c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10