Function at 0x401520
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov dword [ebp - 0x54], sym.___gxx_personality_sj0
mov dword [ebp - 0x50], 0x475b24
lea eax, [ebp - 0x4c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x4016ef
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
call dbg.__main
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [ebp - 0x68], 1
call eax
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
lea eax, [ebp - 0x29]
mov ecx, eax
call fcn.0043f890
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x29]
mov dword [esp + 4], edx
mov dword [esp], str.C:UsersPublicDocumentsppq.dll
mov dword [ebp - 0x68], 2
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x29]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x30]
mov dword [ebp - 0x68], 3
mov ecx, eax
call method.std::string.c_str___const
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40161c
mov dword [esp + 4], str.Error_loading_ppq.dll
mov dword [esp], 0x47de20
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov dword [ebp - 0x70], 1
jmp 0x4016ab
mov dword [esp + 4], 0x47f038
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], 3
call eax
sub esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401682
mov dword [esp + 4], str.Error_getting_address_of_ppq_function
mov dword [esp], 0x47de20
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call eax
sub esp, 4
mov dword [ebp - 0x70], 1
jmp 0x4016ab
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x68], 3
call eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call eax
sub esp, 4
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x68], 1
mov ecx, eax
call fcn.0044b8e0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x70], eax
jmp 0x401720
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret