Function at 0x41f110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43faeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push edi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x5c], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0x44
push 0x14
call fcn.0042e3e0
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x41f18f
push str.Failure_to_create_thread_info.
push 0x449750
push 0x177
push 0x4497a8
push 0
mov ecx, 0x454488
call fcn.004192c0
xor al, al
jmp 0x41f406
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x9c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x64]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x64]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x64]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x9c]
add ecx, 8
push ecx
mov edx, esp
mov dword [ebp - 0x84], esp
push ecx
mov ecx, edx
call fcn.00403370
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040dd20
add esp, 8
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push ecx
push 0x4497c8
lea edx, [ebp - 0x88]
push edx
call fcn.00401180
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401160
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004030a0
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x9c]
call fcn.0041f650
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x68]
push eax
push 0x4497cc
push 0x454488
call fcn.00419160
add esp, 0xc
mov ecx, dword [ebp - 0x70]
push ecx
push 0x4497e8
push 0x454488
call fcn.00419160
add esp, 0xc
mov byte [ebp - 0xd], 1
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x41f37c
mov eax, dword [ebp - 0x64]
add eax, 4
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.00409aa0
push eax
lea ecx, [ebp - 0x68]
call fcn.00409aa0
push eax
call dword [0x453f88]
test eax, eax
jne 0x41f373
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
push 0x449818
push 0x197
push 0x449870
push 0
mov ecx, 0x454488
call fcn.004191b0
push 0x35
mov ecx, 0x454370
call fcn.0041fa00
push eax
call fcn.0040f1e0
add esp, 8
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jne 0x41f319
mov byte [ebp - 0xd], 1
jmp 0x41f371
push 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x54]
call fcn.0041f420
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
push eax
call fcn.0042c300
add esp, 4
mov byte [ebp - 0x8d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004030a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004030a0
mov al, byte [ebp - 0x8d]
jmp 0x41f406
jmp 0x41f377
mov byte [ebp - 0xd], 0
jmp 0x41f28a
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
push 0x41efd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x41f3de
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0042c300
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
push str.bool___thiscall_CMenuItem::LaunchExe_void_
push 0x1b0
push str..MenuItem.cpp
push 0
mov ecx, 0x454488
call fcn.004191b0
mov byte [ebp - 0x95], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004030a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004030a0
mov al, byte [ebp - 0x95]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret