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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497552
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4e20c0]
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.0040b200
mov dword [ebp - 4], 0
push ecx
push esi
lea ecx, [edi + 0x30]
mov dword [edi], vtable.ContentDialog.0
call fcn.0040bdc0
mov byte [ebp - 4], 1
lea esi, [edi + 0x64]
push 0x30
push 0
push esi
call fcn.004709e0
mov dword [ebp - 0x24], esi
xorps xmm0, xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movups xmmword [esi + 0xc], xmm0
push 2
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
push esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0045afb9
add esp, 0x14
mov byte [ebp - 4], 3
push 0
push 0x40fbd0
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.00411610
mov dword [ebp - 0x24], edi
mov dword [eax], edi
mov eax, dword [0x666350]
cmp eax, dword [0x666354]
je 0x40c8ca
mov dword [eax], edi
add dword [0x666350], 4
jmp 0x40c8d4
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00424c80
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 0x40fc50
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], 4
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], 5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.0040b560
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], 6
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], 7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.0040b560
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], 8
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], 9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.0040b560
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], 0xa
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], 0xb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.0040b7c0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x38], eax
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x4cb58c
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0xd
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6664a8]
cmp eax, dword [ecx + 4]
jle 0x40cac9
push 0x6664a8
call fcn.0046eb04
add esp, 4
cmp dword [0x6664a8], 0xffffffff
jne 0x40cac9
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x2c], 0x6664b0
mov dword [0x6664d4], 0
mov byte [ebp - 4], 0xe
push 0x4a2f10
call fcn.0046efd1
mov byte [ebp - 4], 0xd
push 0x6664a8
call fcn.0046eab3
add esp, 8
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x40caeb
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], 0x12
lea ecx, [ebp - 0x9c]
push 0x6664b0
call fcn.00438e30
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x40cb24
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], 3
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x40cb46
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.0040cd00
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.0046ea75
mov esp, ebp
pop ebp
ret 8