Function at 0x431ea0
Capabilities:
Check mutex on windows
Create thread
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x8c8
mov eax, dword [0xec8980]
xor eax, esp
mov dword [esp + 0x8c4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov dword [esp + 0x14], eax
mov byte [esp + 0xf], 0
call fcn.00432e50
call fcn.00433030
push dword [0xeced38]
lea eax, [esp + 0x2b4]
push dword [0xecec70]
push str._ls_ls
push 0x104
push eax
call fcn.0042e9b0
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea eax, [esp + 0x2c4]
add esp, 0x14
push eax
push 1
push 0
call edi
test eax, eax
je 0x432dae
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push eax
call esi
test eax, eax
jne 0x432dbf
push eax
push eax
push eax
call edi
mov dword [0xececd4], eax
call fcn.0047e230
cmp eax, 1
jne 0x432276
push 0
push 0x20003
call fcn.0047ed50
push 0
push 0x20005
call fcn.0047ed50
push 4
push 0x22002
call fcn.0047ed50
push 0
push 0x22003
call fcn.0047ed50
push 0x32001
push 0x22008
call fcn.0047ed50
push dword [0xecec70]
lea eax, [esp + 0x1d4]
push 0xe9e09c
push 0x104
push eax
call fcn.00431e10
push 0
push 0
lea eax, [esp + 0x1e8]
push eax
push 0x168
push 0x280
call fcn.0047e5f0
add esp, 0x4c
mov dword [0xececd8], eax
test eax, eax
jne 0x4320c9
call fcn.0047e320
push 0
push 0
push 0
mov dword [0xece840], 0
mov dword [0xecec58], 0
mov dword [0xece844], 0x434e90
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0xecec5c], eax
xor eax, eax
mov dword [0xececfc], eax
mov dword [0xeced00], 0x434f40
test eax, eax
je 0x432017
push eax
call edi
push 0
push 0
push 0xececfc
push 0x4588d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xececfc], eax
test eax, eax
je 0x43203d
push 0xffffffffffffffff
push eax
call esi
push 0xffffffffffffffff
push dword [0xececd4]
call esi
mov al, byte [0xece838]
push dword [0xececd4]
mov byte [esp + 0x13], al
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp byte [esp + 0xf], 0
jne 0x43206a
mov eax, dword [0xececfc]
jmp 0x432010
push dword [0xecec70]
lea eax, [esp + 0x2b4]
push 0xf040b0
push str._ls_ls.bin
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x14
lea edx, [esp + 0x2b0]
push 0xece630
call fcn.004312f0
mov eax, dword [0xece840]
add esp, 4
test eax, eax
je 0x4320b1
push 0xffffffffffffffff
push eax
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x8c4]
xor ecx, esp
call fcn.00488f09
mov esp, ebp
pop ebp
ret 0x10
push 0xe9e0a0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x432276
lea ecx, [esp + 0x180]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
cmp eax, 1
jne 0x432276
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [esp + 0x150]
push eax
push 0x18
push dword [esp + 0x198]
call dword [sym.imp.GDI32.dll_GetObjectW]
movzx eax, word [esp + 0x162]
imul eax, dword [esp + 0x158]
imul eax, dword [esp + 0x154]
cdq
and edx, 7
lea edi, [edx + eax]
sar edi, 3
push edi
call fcn.00489180
mov edx, dword [esp + 0x15c]
add esp, 4
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x10], eax
mov eax, 1
mov word [esp + 0x130], ax
mov ax, word [esp + 0x162]
push 0
mov word [esp + 0x136], ax
lea eax, [esp + 0x128]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x134], ecx
mov ecx, edx
push edx
push 0
push dword [esp + 0x1a4]
neg ecx
mov dword [esp + 0x13c], 0x28
push esi
mov dword [esp + 0x148], ecx
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call dword [sym.imp.GDI32.dll_GetDIBits]
test edi, edi
je 0x432216
mov edx, dword [esp + 0x10]
lea esi, [edi - 1]
shr esi, 2
add edx, 2
inc esi
mov cl, byte [edx]
lea edx, [edx + 4]
mov al, byte [edx - 6]
mov byte [edx - 6], cl
mov byte [edx - 4], al
sub esi, 1
jne 0x432203
mov eax, dword [esp + 0x154]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x110]
push eax
push 1
push dword [0xececd8]
mov dword [esp + 0x124], esi
call fcn.0047ec80
add esp, 0xc
push esi
call fcn.00488f7d
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 4
push dword [esp + 0x18c]
call esi
push dword [esp + 0x190]
call esi
push dword [0xececd8]
call fcn.0047dd80
add esp, 4
push 1
call fcn.0047de60
add esp, 4
call fcn.00430b10
call fcn.00433380
call fcn.00433590
call fcn.00433870
push 0x150
call fcn.00497dea
add esp, 4
test eax, eax
je 0x432da9
mov esi, eax
and esi, 0xfffffff0
add esi, 0x10
push 0x140
push 0
push esi
mov dword [esi - 4], eax
call fcn.0048b660
add esp, 0xc
mov ecx, esi
push 0
call fcn.00449460
movaps xmm0, xmmword [0xea19a0]
mov dword [esi], vtable.nanogui::Screen.0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xc8], 0
movups xmmword [esi + 0xe0], xmm0
mov dword [0xeced40], esi
xorps xmm0, xmm0
movups xmmword [esi + 0xf0], xmm0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0xf
mov byte [esi + 0xf0], 0
mov byte [esi + 0x108], 0
mov dword [esi + 0x134], 0
movups xmmword [esi + 0x80], xmm0
push ecx
movq qword [esi + 0x90], xmm0
call fcn.0043ab80
mov edi, dword [0xeced40]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esp + 0x110], edi
call esi
sub eax, dword [edi + 0x30]
cdq
sub eax, edx
mov edi, eax
push 1
sar edi, 1
call esi
mov ecx, dword [esp + 0x10c]
sub eax, dword [ecx + 0x34]
cdq
sub eax, edx
sar eax, 1
push eax
push edi
push dword [ecx + 0x78]
call fcn.0047ecb0
add esp, 0xc
push 0x432de0
push dword [0xececd8]
call fcn.0047cc60
push 0x432e00
push dword [0xececd8]
call fcn.0047cce0
push 0x432e20
push dword [0xececd8]
call fcn.0047cca0
push 0x432e40
push dword [0xececd8]
call fcn.0047cbb0
push 0xd0
call fcn.00497dea
add esp, 0x24
test eax, eax
je 0x432da9
mov esi, eax
and esi, 0xfffffff0
add esi, 0x10
push 0xc0
push 0
push esi
mov dword [esi - 4], eax
call fcn.0048b660
add esp, 4
mov ecx, esi
call fcn.0042e4f0
mov ecx, dword [0xeced40]
movups xmm0, xmmword [0x4d911c]
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ecx
lea eax, [esp + 0x10c]
push eax
push 0
push 0
lea eax, [esp + 0x11c]
push eax
movups xmmword [esp + 0x120], xmm0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x432498
push dword [esp + 0x10c]
lea eax, [esp + 0x4bc]
push 0xe9b094
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x10
push dword [esp + 0x10c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x104
lea eax, [esp + 0x4bc]
push eax
call dword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchStripToRoot]
push dword [0xeced38]
lea eax, [esp + 0x4bc]
push eax
push str._lsGames_ls
lea eax, [esp + 0x6cc]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x14
test eax, eax
jns 0x432510
push 0x10
push str.Error
push str.swprintf_nInvalid_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x8c4]
xor ecx, esp
call fcn.00488f09
mov esp, ebp
pop ebp
ret 0x10
push 0x30
call fcn.00488f3a
add esp, 4
mov esi, eax
push 0x30
push 0
push esi
call fcn.0048b660
add esp, 0xc
lea eax, [esp + 0x6c0]
mov ecx, esi
push eax
push 0
push dword [0xeced40]
call fcn.00458e10
mov dword [0xeced3c], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], vtable.std::_Func_impl_no_alloc_void____cdecl___float___void__float_.0
mov ecx, dword [eax + 0x28]
lea eax, [esp + 0x18]
push eax
sub ecx, 0xffffff80
mov dword [esp + 0x20], 0x4347a0
mov dword [esp + 0x40], eax
call fcn.00434fc0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x432593
mov edx, dword [ecx]
lea eax, [esp + 0x18]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x3c], 0
mov eax, dword [0xeced3c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x40], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [esp + 0x44], 0x4347c0
mov ecx, dword [eax + 8]
lea eax, [esp + 0x40]
push eax
add ecx, 0xc0
mov dword [esp + 0x68], eax
call fcn.00434fc0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4325e9
mov edx, dword [ecx]
lea eax, [esp + 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x64], 0
mov eax, dword [0xeced3c]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x68], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [esp + 0x6c], 0x434d20
mov ecx, dword [eax + 4]
lea eax, [esp + 0x68]
push eax
add ecx, 0xc0
mov dword [esp + 0x90], eax
call fcn.00434fc0
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x43264b
mov edx, dword [ecx]
lea eax, [esp + 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x8c], 0
mov eax, dword [0xeced3c]
mov dword [esp + 0xb4], 0
mov dword [esp + 0x90], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [esp + 0x94], 0x434820
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x90]
push eax
add ecx, 0xc0
mov dword [esp + 0xb8], eax
call fcn.00434fc0
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x4326b9
mov edx, dword [ecx]
lea eax, [esp + 0x90]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0xb4], 0
mov eax, dword [0xeced3c]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xb8], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [esp + 0xbc], 0x434e60
mov ecx, dword [eax + 0x10]
lea eax, [esp + 0xb8]
push eax
add ecx, 0xc0
mov dword [esp + 0xe0], eax
call fcn.00434fc0
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x432727
mov edx, dword [ecx]
lea eax, [esp + 0xb8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0xdc], 0
mov eax, dword [0xeced3c]
mov dword [esp + 0x104], 0
mov dword [esp + 0xe0], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [esp + 0xe4], 0x434e80
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0xe0]
push eax
add ecx, 0xc0
mov dword [esp + 0x108], eax
call fcn.00434fc0
mov ecx, dword [esp + 0x104]
test ecx, ecx
je 0x43278a
mov edx, dword [ecx]
lea eax, [esp + 0xe0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0
push 0
push 0
mov dword [0xece840], 0
mov dword [0xecec58], 0
mov dword [0xece844], 0x434ad0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0xecec5c], eax
mov dword [0xececfc], 0
mov dword [0xeced00], 0x434da0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0
push 1
push dword [esp + 0x1c]
mov esi, eax
call fcn.0042cd1e
push 1
push 0x24
call fcn.0042c474
push 0
push esi
push 0
push 0xac44
push 0xffffffffffffffff
call fcn.00427271
cmp byte [0xece839], 0
jne 0x432822
push 1
push 4
push dword [0xece62c]
push 0
push 0
push dword [0xecec78]
push 1
call fcn.00422a3e
jmp 0x43283d
push 4
push 0
push dword [0xece62c]
push 0
push 0
push dword [0xecec78]
push 1
call fcn.00421cd5
push ecx
mov dword [esp], 0x3f000000
push 2
push eax
mov dword [0xecec80], eax
call fcn.00424694
push 0
push dword [0xecec80]
call fcn.0042310c
push dword [0xececd8]
call fcn.0047f090
add esp, 4
test eax, eax
jne 0x432c89
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop dword [eax + eax]
push 0x20
push dword [0xececd8]
call fcn.0047cae0
add esp, 8
cmp eax, 1
jne 0x4328ef
cmp byte [esp + 0xf], 0
jne 0x4328ef
mov eax, dword [0xeced40]
mov dword [esp + 0x10], eax
mov edi, dword [eax + 0x44]
mov esi, dword [eax + 0x40]
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x10c], edx
cmp esi, edi
je 0x4328da
nop dword [eax]
mov ecx, dword [esi]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, dword [esp + 0x10c]
add esi, 4
cmp esi, edi
jne 0x4328c0
mov eax, dword [esp + 0x10]
push dword [eax + 0x7c]
mov ecx, eax
call fcn.004497e0
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0xf], 1
push 0x4500
call dword [0xece580]
call fcn.0047cb40
movss xmm0, dword [0xea16d0]
fstp dword [0xeced1c]
call fcn.00433bf0
push 0xbe2
call dword [0xece540]
push 0x303
push 0x302
call dword [0xece5d8]
call fcn.00433dd0
cmp byte [esp + 0xf], 0
jne 0x432bf2
call fcn.004341f0
movups xmm0, xmmword [str.Original_intro_by_Melon.]
movzx eax, byte [0xe9e4a4]
mov byte [esp + 0x168], al
movzx eax, word [0xe9e4c0]
movups xmmword [esp + 0x150], xmm0
mov word [esp + 0x198], ax
movq xmm0, qword [0xe9e49c]
movzx eax, byte [0xe9e4c2]
movq qword [esp + 0x160], xmm0
movups xmm0, xmmword [str.Idea_borrowed_by_Skid_Row.]
mov byte [esp + 0x19a], al
movups xmmword [esp + 0x180], xmm0
movq xmm0, qword [0xe9e4b8]
movq qword [esp + 0x190], xmm0
movss xmm0, dword [0xeced1c]
mulss xmm0, dword [0xea17ac]
movss dword [esp + 0x10c], xmm0
cvtps2pd xmm0, xmm0
call fcn.004b2760
cvtsd2ss xmm0, xmm0
addss xmm0, xmm0
addss xmm0, dword [0xea17bc]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x10c]
addss xmm0, dword [0xea16e8]
cvtps2pd xmm0, xmm0
call fcn.004b2760
push dword [0xeced18]
cvtsd2ss xmm0, xmm0
addss xmm0, xmm0
addss xmm0, dword [0xea17bc]
movss dword [esp + 0x110], xmm0
call dword [0xece4f4]
movss xmm3, dword [esp + 0x10]
lea edx, [esp + 0x150]
subss xmm3, dword [0xea1720]
movss xmm2, dword [0xea179c]
mov ecx, 0xeced20
push 0x18
call fcn.00458bf0
movss xmm3, dword [esp + 0x14]
lea edx, [esp + 0x154]
subss xmm3, dword [0xea16d0]
movss xmm2, dword [0xea1798]
add esp, 4
mov ecx, 0xeced20
push 0x18
call fcn.00458bf0
movss xmm3, dword [esp + 0x110]
lea edx, [esp + 0x184]
subss xmm3, dword [0xea1720]
movss xmm2, dword [0xea1858]
add esp, 4
mov ecx, 0xeced20
push 0x1a
call fcn.00458bf0
movss xmm3, dword [esp + 0x110]
lea edx, [esp + 0x184]
subss xmm3, dword [0xea16d0]
movss xmm2, dword [0xea1854]
add esp, 4
mov ecx, 0xeced20
push 0x1a
call fcn.00458bf0
add esp, 4
push dword [0xececb4]
call dword [0xece4f4]
movss xmm3, dword [esp + 0x10]
lea edx, [esp + 0x150]
movss xmm2, dword [0xea1788]
mov ecx, 0xeced20
push 0x18
call fcn.00458bf0
movss xmm3, dword [esp + 0x110]
lea edx, [esp + 0x184]
movss xmm2, dword [0xea1850]
add esp, 4
mov ecx, 0xeced20
push 0x1a
call fcn.00458bf0
movups xmm0, xmmword [str.Press_SPACE_to_continue_to_installer.]
mov eax, dword [0xe9e258]
add esp, 4
mov dword [esp + 0x170], eax
movzx eax, word [0xe9e25c]
movups xmmword [esp + 0x150], xmm0
mov word [esp + 0x174], ax
movups xmm0, xmmword [0xe9e248]
push dword [0xeced18]
movups xmmword [esp + 0x164], xmm0
call dword [0xece4f4]
movss xmm3, dword [0xea1818]
lea edx, [esp + 0x150]
movss xmm2, dword [0xea1838]
mov ecx, 0xeced20
push 0x25
call fcn.00458bf0
movss xmm3, dword [0xea181c]
lea edx, [esp + 0x154]
movss xmm2, dword [0xea1834]
add esp, 4
mov ecx, 0xeced20
push 0x25
call fcn.00458bf0
add esp, 4
push dword [0xececb4]
call dword [0xece4f4]
movss xmm3, dword [0xea1820]
lea edx, [esp + 0x150]
movss xmm2, dword [0xea1830]
mov ecx, 0xeced20
push 0x25
call fcn.00458bf0
add esp, 4
push 0xbe2
call dword [0xece588]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [0xececd4]
call esi
push 0xffffffffffffffff
push dword [0xecec5c]
call esi
movss xmm0, dword [0xecec58]
push dword [0xecec5c]
movss dword [esp + 0x110], xmm0
call edi
cmp byte [esp + 0xf], 0
mov eax, dword [0xeced3c]
movss xmm0, dword [esp + 0x10c]
mov eax, dword [eax + 0x24]
movss dword [eax + 0x78], xmm0
je 0x432c58
mov ecx, dword [0xeced40]
call fcn.0043b0a0
push dword [0xececd4]
call edi
push dword [0xececd8]
call fcn.0047de10
add esp, 4
call fcn.0047ec60
push dword [0xececd8]
call fcn.0047f090
add esp, 4
test eax, eax
je 0x432880
call fcn.004271ee
push 0
push 0
push dword [esp + 0x1c]
call fcn.0042cd1e
mov eax, dword [0xece840]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x432cad
push eax
call edi
push dword [0xecec5c]
call edi
mov eax, dword [0xececfc]
test eax, eax
je 0x432cc1
push eax
call edi
mov esi, dword [0xeced3c]
push 0x30
push esi
call fcn.00488f6f
add esp, 8
test esi, esi
je 0x432ce0
mov dword [0xeced3c], 0x8123
mov ecx, dword [0xeced40]
test ecx, ecx
je 0x432cf0
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.0047e320
push dword [0xececd4]
call edi
push dword [0xece83c]
call edi
push dword [0xecec78]
call fcn.0048e4e1
add esp, 4
push dword [0xeced08]
call fcn.0048e4e1
add esp, 4
push dword [0xeced04]
call fcn.0048e4e1
add esp, 4
push dword [0xececb8]
call fcn.0048e4e1
add esp, 4
push dword [0xecece0]
call fcn.0048e4e1
add esp, 4
push dword [0xececdc]
call fcn.0048e4e1
add esp, 4
push dword [0xececa8]
call fcn.0048e4e1
add esp, 4
push dword [0xecece8]
call fcn.0048e4e1
add esp, 4
push dword [0xeced38]
call fcn.0048e4e1
add esp, 4
push dword [0xecec70]
call fcn.0048e4e1
mov ecx, dword [esp + 0x8d0]
add esp, 4
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00488f09
mov esp, ebp
pop ebp
ret 0x10
call fcn.00431e50
mov ecx, str.Init:_CreateMutex_n
call fcn.0042eb30
push 1
call fcn.004984c3
mov ecx, str.Init:_WaitForSingleObject_n
call fcn.0042eb30
push 1
call fcn.004984c3
int3