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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x80bba4
push eax
mov dword fs:[0], esp
sub esp, 0x860
push ebx
push esi
push edi
mov dword [esp + 0x18], 0xc53a5ab
mov dword [esp + 0x28], 0x3d095a24
mov dword [esp + 0x3c], 0x15d2bd56
mov dword [esp + 0x40], 0x2fcdc455
mov dword [esp + 0x44], 0x211fce3a
mov dword [esp + 0x20], 0x2e807f5b
mov dword [esp + 0x2c], 0x14fa4b7a
mov dword [esp + 0x14], 0x182f5bf1
mov dword [esp + 0x10], 0x15151052
mov dword [esp + 0x38], 0x1730d725
mov dword [esp + 0x34], 0x55523153
mov dword [esp + 0x24], 0xc09c736
mov dword [esp + 0x1c], 0x42b69f0
mov dword [esp + 0x30], 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 + 0x40], 0x6ab2179c
add dword [esp + 0x40], 0x5016b8cb
add dword [esp + 0x40], 0x5abd0b60
sub dword [esp + 0x28], 0x4582744e
mov eax, 0x6db6c5c7
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x64e895e
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x5d8f9ca8
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], 0x7d763ff7
add dword [esp + 0x44], 0x3754ea0
add dword [esp + 0x2c], 0x4f00b9fd
add dword [esp + 0x20], 0x52ac564e
sub dword [esp + 0x40], 0x4f343ec
sub dword [esp + 0x20], 0x7ab273b2
sub dword [esp + 0x40], 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 + 0x34]
mov eax, dword [esp + 0x34]
sub dword [esp + 0x34], 0x2f204784
add dword [esp + 0x34], 0x68e1984b
mov eax, 0x5328fa5a
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x4a827611
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [0x82280c], 0x400
jne 0x4016c0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push str.momolubeku
push str.vexenakumuhirulix
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 0xf
pop esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x87c], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401b90
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401840
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401b9a
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401970
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401c10
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401d40
fstp st(0)
or dword [esp + 0x87c], 0xffffffff
add esp, 8
cmp dword [esp + 0x64], 0x10
jb 0x4016b4
push dword [esp + 0x50]
call fcn.00401bfa
pop ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
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, 0x207139
jg 0x4016ea
inc edi
cmp edi, 0x4f6a4
jl 0x4016c8
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp esi, 0x2b257f
jg 0x401704
inc esi
cmp esi, 0x118bb
jl 0x4016ec
xor esi, esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp esi, 0x2b01d4
jle 0x40172c
cmp dword [esp + 0x48], 0x787c7bed
jne 0x401735
inc esi
cmp esi, 0x42f9
jl 0x401706
mov eax, dword [0x815f1c]
mov dword [0x82280c], eax
call fcn.0040114b
mov esi, 0x3078f
cmp dword [0x82280c], 0x51f
jne 0x40175e
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
dec esi
jne 0x401749
mov ecx, dword [esp + 0x86c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10