Function at 0x404fc0
Capabilities:
Create process on windows
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e5df
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x41501c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_void_]
mov esi, ecx
lea ecx, [ebp - 0x48]
mov ebx, edx
mov dword [ebp - 0x38], eax
call edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call edi
mov byte [ebp - 4], 1
xor eax, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x48]
push ecx
push esi
mov byte [ebp - 4], 3
call fcn.00403450
mov edx, dword [ebp - 0x38]
add esp, 0x14
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
movzx ebx, word [esi + 0x5e8]
movzx eax, word [esi + 0x5ea]
imul ebx, ebx, 0x64
add ebx, eax
imul ebx, ebx, 0x2710
add ebx, dword [esi + 0x5ec]
lea ecx, [ebp - 0x2c]
call edi
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x30]
movzx edx, word [esi + 0x138]
push ecx
push edx
push ebx
lea eax, [ebp - 0x2c]
push str.AppVer_lueip_xcode_x
push eax
call dword [sym.imp.Common.dll_public:_void___cdecl_CTXStringA::Format_char_const__]
add esp, 0x14
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
call dword [0x40f0cc]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Common.dll_public:_class_CTXStringA____thiscall_CTXStringA::MakeLower_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringA::GetLength_void_const]
push eax
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Common.dll_public:_char____thiscall_CTXStringA::GetBuffer_int_]
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.0040c8a0
add esp, 0xc
push str.Crash_Signature:
lea ecx, [ebp - 0x28]
call dword [0x40f0e8]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], edi
call dword [sym.imp.Common.dll_int___cdecl_Util::Data::CreateTXBuffer_struct_ITXBuffer___]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
add esp, 4
push 0x10
lea edx, [ebp - 0x24]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::Encode::Encode16_class_CTXBuffer_const__]
add esp, 8
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x405140
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
push esi
push edx
call fcn.00404e90
add esp, 0xc
lea ebx, [esi + 0x55c]
mov byte [ebp - 4], 8
cmp word [ebx], di
jne 0x405186
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x405186
push eax
push 0x4106f0
push 0x3c
push ebx
call dword [sym.imp.MSVCR80.dll__snwprintf]
add esp, 0x10
mov eax, dword [esi + 0x5d8]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
push eax
lea ecx, [ebp - 0x38]
call edi
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x5d4]
push ecx
lea ecx, [ebp - 0x50]
call edi
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov byte [ebp - 4], 0xa
call fcn.004046c0
mov byte [ebp - 4], 0xc
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x50]
call edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call edi
push ebx
lea ecx, [ebp - 0x88]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
test byte [0x415588], 1
mov ebx, dword [ebp - 0x90]
jne 0x405214
or dword [0x415588], 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x415584], eax
mov edx, dword [0x415584]
push 0
push ebx
push 0
push 0x83
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov ebx, 1
cmp eax, ebx
jne 0x405340
cmp byte [ebp - 0x74], 0
je 0x4052c7
lea ecx, [ebp - 0x4c]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov byte [ebp - 4], 0xe
mov eax, dword [esi + 0x1c]
push eax
lea ecx, [ebp - 0x4c]
push 0x4106f0
push ecx
call dword [sym.imp.Common.dll_public:_void___cdecl_CTXStringW::Format_wchar_t_const__]
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.Common.dll_bool___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 8
test al, al
je 0x40528e
push 0x40f5f8
lea ecx, [ebp - 0x88]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x40]
call fcn.00409f50
add esp, 0x1c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call edi
cmp byte [ebp - 0x73], 0
je 0x405340
push 0x40
lea ecx, [ebp - 0xe0]
push 0
push ecx
mov dword [ebp - 0xe4], 0x44
call sub.MSVCR80.dll_memset
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x60]
push edx
mov edx, dword [esi + 0x5e0]
lea ecx, [ebp - 0xe4]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x5dc]
push edx
push eax
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xb4], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405340
mov ecx, dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x5c]
push edx
call esi
lea eax, [ebp - 0x98]
push eax
mov byte [ebp - 4], 8
call fcn.004047f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call edi
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c926
mov esp, ebp
pop ebp
ret