Function at 0x4013f8
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 0x427c44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x105c
call fcn.004113d0
push ebx
push esi
push edi
mov dword [esp + 0x34], 0xc53a5ab
mov dword [esp + 0x3c], 0x3d095a24
mov dword [esp + 0x1c], 0x15d2bd56
mov dword [esp + 0x2c], 0x2fcdc455
mov dword [esp + 0x44], 0x211fce3a
mov dword [esp + 0x40], 0x2e807f5b
mov dword [esp + 0x28], 0x14fa4b7a
mov dword [esp + 0x10], 0x182f5bf1
mov dword [esp + 0x38], 0x15151052
mov dword [esp + 0x24], 0x1730d725
mov dword [esp + 0x30], 0x55523153
mov dword [esp + 0x20], 0xc09c736
mov dword [esp + 0x18], 0x42b69f0
mov dword [esp + 0x14], 0x1042a81a
sub dword [esp + 0x34], 0x31e89ad3
add dword [esp + 0x34], 0x73752cfc
mov eax, 0x503b8d50
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov eax, 0x51ac3487
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov eax, 0x75e779
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x3c], 0x3dc3afe2
sub dword [esp + 0x1c], 0x2a0ea535
sub dword [esp + 0x3c], 0x583b905f
add dword [esp + 0x34], 0x100bb3bf
add dword [esp + 0x34], 0x30a6110e
sub dword [esp + 0x34], 0x33f2b174
add dword [esp + 0x3c], 0x10039ec6
add dword [esp + 0x2c], 0x6ab2179c
add dword [esp + 0x2c], 0x5016b8cb
add dword [esp + 0x2c], 0x5abd0b60
sub dword [esp + 0x3c], 0x4582744e
mov eax, 0x6db6c5c7
mul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
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 + 0x40], 0x7d763ff7
add dword [esp + 0x44], 0x3754ea0
add dword [esp + 0x28], 0x4f00b9fd
add dword [esp + 0x40], 0x52ac564e
sub dword [esp + 0x2c], 0x4f343ec
sub dword [esp + 0x40], 0x7ab273b2
sub dword [esp + 0x2c], 0xe8723ec
sub dword [esp + 0x34], 0x4f12151e
mov eax, 0x98800c2
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, 0x6d49dc25
mul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov eax, 0x7adb150d
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x40], 0x79988503
mov eax, 0x11486a0d
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
sub dword [esp + 0x30], 0x2f204784
add dword [esp + 0x30], 0x68e1984b
mov eax, 0x5328fa5a
mul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov eax, 0x4a827611
mul dword [esp + 0x38]
mov eax, dword [esp + 0x38]
xor ebx, ebx
cmp dword [0x43e974], 0x400
jne 0x4016ce
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push str.xecelez
push str.vujanunemahewa
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [esp + 0x68]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
push ebx
mov dword [esp + 0x1078], ebx
call fcn.00402404
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.004017b0
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401b50
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401800
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401b5a
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401930
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401fa0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004020d0
fstp st(0)
or dword [esp + 0x107c], 0xffffffff
add esp, 8
cmp dword [esp + 0x64], 0x10
jb 0x4016ce
push dword [esp + 0x50]
call fcn.00401f93
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 0x4016f8
inc edi
cmp edi, 0x4f672
jl 0x4016d6
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp esi, 0x2b257f
jg 0x401712
inc esi
cmp esi, 0x118bb
jl 0x4016fa
xor esi, esi
push ebx
lea eax, [esp + 0x86c]
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, 0x2b0102
jle 0x401741
cmp dword [esp + 0x48], 0x787c2215
jne 0x40174a
inc esi
cmp esi, 0x44b1
jl 0x401714
mov eax, dword [0x43206c]
mov dword [0x43e974], eax
call fcn.0040117c
mov esi, 0x3078f
cmp dword [0x43e974], 0x51f
jne 0x401773
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
dec esi
jne 0x40175e
mov ecx, dword [esp + 0x106c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10