Function at 0x410d70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497eab
mov eax, dword fs:[0]
push eax
sub esp, 0x300
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 eax, dword [ebp + 8]
mov dword [ebp - 0x2e4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.00405700
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea edi, [ebp - 0x44]
mov esi, dword [ebp - 0x34]
cmova edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 7
cmova edi, dword [ebp - 0x44]
cmp esi, dword [ebp - 0x1c]
jne 0x410e02
test esi, esi
je 0x410df9
sub edi, edx
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x410e02
add edx, 2
sub esi, 1
jne 0x410de5
mov byte [ebp - 0x2dd], 1
jmp 0x410e09
mov byte [ebp - 0x2dd], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00416650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00416650
cmp byte [ebp - 0x2dd], 0
je 0x410e6a
push 0xdc
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.004709e0
add esp, 4
lea ecx, [ebp - 0x2c0]
call fcn.00433090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.0040fd80
xor eax, eax
jmp 0x411221
push 0x100
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.004709e0
mov edi, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x14c]
add esp, 0xc
push 0
push edi
call fcn.0040b200
mov dword [ebp - 4], 4
lea eax, [ebp - 0x54]
push 0x2c
mov dword [ebp - 0x14c], 0x4cbba4
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.0046ed65
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x11c]
push 0x64
push eax
push 0x67
push dword [ebp - 0x148]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x148]
push 0x65
push eax
mov dword [ebp - 0x44], 0x30
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 0x410b40
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], 0x86
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [ebp - 4], 7
mov eax, 0x6665d0
cmp dword [0x6665e4], 7
push 0
push dword [ebp - 0x148]
cmova eax, dword [0x6665d0]
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xa0000
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x140]
push eax
call fcn.00411610
lea ecx, [ebp - 0x14c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x140]
test eax, eax
jne 0x410fd7
or esi, 0xffffffff
jmp 0x4111db
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x140]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [ebp - 0x14c]
call fcn.0040fed0
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.language
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.0041c9d0
mov byte [ebp - 4], 8
call fcn.0040a280
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x120]
push ecx
mov ecx, eax
call fcn.004247b0
push eax
lea ecx, [ebp - 0x14c]
call fcn.00410780
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00416aa0
push 0x98
lea eax, [ebp - 0x1e4]
push 0
push eax
call fcn.004709e0
add esp, 0xc
lea ecx, [ebp - 0x1e4]
push dword [ebp - 0x140]
push edi
call fcn.0040c7d0
mov byte [ebp - 4], 9
mov dword [ebp - 0x2e8], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x30c]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__public:_void___thiscall_ContentDialog::SetupLog_void_::_2::_lambda_1___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___bool_const__.virtual_0], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ContentDialog::SetupLog_void_::_2::_lambda_1___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___bool_const__.0
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 0xb
mov eax, 0x66666667
mov esi, dword [0x66648c]
mov ecx, esi
sub ecx, dword [0x666488]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2e4], eax
cmp esi, dword [0x666490]
je 0x41110c
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2e8]
test ecx, ecx
je 0x4110ff
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0xb
add dword [0x66648c], 0x28
jmp 0x411119
lea eax, [ebp - 0x30c]
push eax
push esi
call fcn.0043c1a0
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2e8]
test ecx, ecx
je 0x411150
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x30c]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x2e8], 0
push 0x67
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2dc]
push 0
push eax
call esi
test eax, eax
je 0x4111c6
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea eax, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2e4]
push dword [ebp - 0x2dc]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4111b3
lea eax, [ebp - 0x2dc]
push eax
call edi
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x2dc]
push eax
call esi
test eax, eax
jne 0x411180
mov esi, dword [ebp - 0x2d4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1e4]
call fcn.0040cb80
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x54]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x54]
push dword [eax + 4]
lea eax, [ebp - 0x54]
push eax
mov ecx, eax
call fcn.00424bf0
push 0x2c
push dword [ebp - 0x54]
call fcn.0046efe6
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.0040b2f0
mov eax, esi
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 0x10