Function at 0x40ca80
Capabilities:
Access peb ldr_data
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a572f
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4f0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x30], edi
call fcn.0040b4b0
mov dword [ebp - 4], 0
push ecx
push esi
lea ecx, [edi + 0x30]
mov dword [edi], vtable.ContentDialog.0
call fcn.0040c070
mov byte [ebp - 4], 1
lea esi, [edi + 0x64]
push 0x30
push 0
push esi
call fcn.0047d590
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [esi + 0xc], xmm0
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
push 0
push 0x40fe10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi], 2
mov dword [esi + 0x2c], 0
push dword [edi + 8]
mov dword [edi + 0x94], 0xffffffff
push 0x83
push dword [edi + 4]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
lea esi, [edi + 0xc]
mov dword [esi], eax
push esi
call fcn.00411810
mov dword [ebp - 0x24], edi
mov dword [eax], edi
mov eax, dword [0x6746dc]
cmp eax, dword [0x6746e0]
je 0x40cb6b
mov dword [eax], edi
add dword [0x6746dc], 4
jmp 0x40cb75
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004250f0
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
add eax, 0x3b
push 6
push eax
add ecx, 0x10
push ecx
push 0
push 0
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [esi]
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push 0
push 0x40fe90
push eax
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
sub esp, 0x28
mov dword [ebp - 0x24], 0
mov eax, esp
mov dword [ebp - 0x28], 0x3f0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esp
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 2
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ContentDialog::constructor_struct_HINSTANCE____const__struct_HWND____const_::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0040b810
sub esp, 0x28
mov dword [ebp - 0x28], 0
mov eax, esp
mov dword [ebp - 0x24], 0x3e8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esp
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 4
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ContentDialog::constructor_struct_HINSTANCE____const__struct_HWND____const_::_2::_lambda_2___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0040b810
sub esp, 0x28
mov dword [ebp - 0x28], 0
mov eax, esp
mov dword [ebp - 0x24], 0x3ec
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esp
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 6
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ContentDialog::constructor_struct_HINSTANCE____const__struct_HWND____const_::_2::_lambda_3___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0040b810
sub esp, 0x28
mov dword [ebp - 0x28], 0x233
mov eax, esp
mov dword [ebp - 0x24], 0x3ea
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], esp
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 8
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ContentDialog::constructor_struct_HINSTANCE____const__struct_HWND____const_::_2::_lambda_4___void__void__.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0040ba70
mov eax, dword [edi + 0xc]
mov dword [edi + 0x38], eax
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x4d958c
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0xb
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x674804]
cmp eax, dword [ecx + 4]
jle 0x40cd6a
push 0x674804
call fcn.0047b571
add esp, 4
cmp dword [0x674804], 0xffffffff
jne 0x40cd6a
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2c], 0x674808
mov dword [0x67482c], 0
mov byte [ebp - 4], 0xc
push 0x4b1840
call fcn.0047ba41
mov byte [ebp - 4], 0xb
push 0x674804
call fcn.0047b520
add esp, 8
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x40cd8c
mov eax, dword [ecx]
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x9c]
push 0x674808
call fcn.004393c0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x40cdc5
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x9c]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x40cde7
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x74]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x50], 0
mov ecx, edi
call fcn.0040cf80
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047b4e2
mov esp, ebp
pop ebp
ret 8