Function at 0x4068b0
Capabilities:
Access peb ldr_data
Create process on windows
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42bab9
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x437050]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437050]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [0x43832c]
mov ebp, dword [esp + 0xe4]
mov esi, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x43832c
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 0xdc], ebx
mov eax, dword [0x43832c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43832c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xdc], 1
xor eax, eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov word [esp + 0xc9], ax
mov byte [esp + 0xcb], al
mov eax, dword [0x43832c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43832c
mov byte [esp + 0xbc], bl
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xdc], 2
mov eax, dword [0x43832c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43832c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
mov ebx, ebp
mov byte [esp + 0xf0], 3
call fcn.00404170
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
movzx esi, word [ebp + 0x5e8]
movzx ecx, word [ebp + 0x5ea]
imul esi, esi, 0x64
mov edx, dword [0x43832c]
mov eax, dword [edx + 0xc]
add esi, ecx
imul esi, esi, 0x2710
add esi, dword [ebp + 0x5ec]
mov ecx, 0x43832c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xdc], 4
mov ecx, dword [ebp + 0x30]
movzx edx, word [ebp + 0x138]
push ecx
push edx
push esi
push str.AppVer_lueip_xcode_x
lea edi, [esp + 0x24]
call fcn.004071f0
mov ecx, dword [esp + 0x40]
add esp, 0x10
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov eax, edi
push eax
call fcn.00404cf0
call fcn.00406eb0
mov edi, dword [esp + 0x14]
mov ecx, dword [edi - 8]
mov esi, dword [edi - 0xc]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x406a59
xor ecx, ecx
lea eax, [esp + 0x14]
call fcn.00404d80
mov edi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0xc0]
push edi
push ecx
call fcn.00410bc0
add esp, 0xc
push 0x11
push str.Crash_Signature:
lea edx, [esp + 0x20]
push edx
call fcn.00401e80
push 0x10
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x2c]
push ecx
call sym.bugreport.exe_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_Util::Encode::Encode16_unsigned_char_const___int_
add esp, 0xc
mov byte [esp + 0xdc], 5
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00401e80
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.00406770
add esp, 8
lea esi, [ebp + 0x55c]
mov byte [esp + 0xdc], 6
cmp word [esi], 0
jne 0x406aee
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x406aee
push eax
push 0x42ed98
push 0x3c
push esi
call fcn.0041a3b6
add esp, 0x10
mov ecx, dword [ebp + 0x5d8]
lea edx, [esp + 0x38]
push edx
call fcn.004043b0
lea eax, [esp + 0x34]
mov byte [esp + 0xdc], 7
mov ecx, dword [ebp + 0x5d4]
push eax
call fcn.004043b0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xf4], 8
call fcn.00405ec0
mov byte [esp + 0xdc], 0xa
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0xb
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x406b99
xor eax, eax
jmp 0x406baf
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406ba0
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x50]
call fcn.00401cb0
mov esi, dword [esp + 0x44]
mov ebx, 1
test byte [0x438fa4], bl
jne 0x406bdf
or dword [0x438fa4], ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x438fa0], eax
mov ecx, dword [0x438fa0]
push 0
push esi
push 0
push 0x83
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, ebx
jne 0x406d5a
cmp byte [esp + 0x60], 0
je 0x406cb7
mov edx, dword [0x43832c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43832c
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xdc], 0xc
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x42ed98
lea edi, [esp + 0x30]
call fcn.00401fd0
mov edx, edi
push edx
lea eax, [esp + 0x58]
call fcn.00406f90
add esp, 0xc
test al, al
je 0x406c5b
mov edx, 0x42deb0
lea edi, [esp + 0x4c]
call fcn.00401800
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x24]
push ebp
push eax
lea edi, [esp + 0x64]
lea esi, [esp + 0x60]
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x40]
call fcn.0040e100
mov byte [esp + 0xf0], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x61], 0
je 0x406d5a
push 0x40
lea ecx, [esp + 0x7c]
push 0
push ecx
mov dword [esp + 0x80], 0x44
call fcn.0041c410
mov ecx, dword [ebp + 0x5e0]
add esp, 0xc
xor eax, eax
lea edx, [esp + 0xbc]
push edx
mov edx, dword [ebp + 0x5dc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x78]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
mov dword [esp + 0xe4], 0
mov dword [esp + 0xc8], ebx
mov word [esp + 0xcc], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406d5a
mov eax, dword [esp + 0xbc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc0]
push ecx
call esi
lea esi, [esp + 0x3c]
call fcn.00406080
mov byte [esp + 0xdc], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406d8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406db3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0xdc], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406dd7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0xdc], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406dff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0041a2d1
add esp, 0xcc
ret