Function at 0x4000b65f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4007091c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x800
push ebx
push esi
push edi
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, 0x3e8
mov edi, eax
push esi
push 0x40
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4000b6ae
xor al, al
jmp 0x4000badf
push pe_nt_image_headers32
lea eax, [esp + 0x74]
mov dword [ebx], esi
push 0
push eax
mov dword [ebx + 0x18], 0x3c8
call fcn.40054740
mov esi, dword [ebp + 8]
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x94], ecx
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xb4]
push 3
pop edx
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], edx
call dword [sym.imp.imagehlp.dll_SymGetOptions]
push 0x12
mov dword [esp + 0x50], eax
call dword [sym.imp.imagehlp.dll_SymSetOptions]
push 1
push 0
push edi
call dword [sym.imp.imagehlp.dll_SymInitialize]
mov ecx, dword [esp + 0x1c]
lea eax, [ebp + 0x14]
push ecx
mov dword [esp + 0x34], ecx
mov ecx, esp
push str._STACK_TRACE_
mov dword [esp + 0x3c], eax
call fcn.400069d1
lea ecx, [esp + 0x34]
call fcn.4000bdb1
and dword [esp + 0x1c], 0
cmp dword [ebp + 0x10], 0
jbe 0x4000bac5
push 0
push dword [sym.imp.imagehlp.dll_SymGetModuleBase64]
lea eax, [esp + 0x78]
push dword [sym.imp.imagehlp.dll_SymFunctionTableAccess64]
push 0
push esi
push eax
push dword [ebp + 0xc]
push edi
push 0x14c
call dword [sym.imp.imagehlp.dll_StackWalk64]
test eax, eax
je 0x4000bac5
mov eax, dword [esp + 0x90]
or eax, dword [esp + 0x94]
je 0x4000bac5
call fcn.40001ce1
push eax
lea ecx, [esp + 0x18]
call fcn.40006f05
and dword [esp + 0x814], 0
lea eax, [esp + 0x40]
push ebx
push eax
push dword [esp + 0x7c]
xorps xmm0, xmm0
push dword [esp + 0x7c]
movlpd qword [esp + 0x50], xmm0
push edi
call dword [sym.imp.imagehlp.dll_SymGetSymFromAddr64]
test eax, eax
je 0x4000b89e
push str._unknown_
lea ecx, [esp + 0x14]
call fcn.400069d1
lea eax, [ebx + 0x1c]
mov byte [esp + 0x814], 1
push eax
lea ecx, [esp + 0x14]
call fcn.40006a54
push ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.4000d73a
cmp eax, 0xffffffff
je 0x4000b843
push str.std::string
push str.std::basic_string_char_std::char_traits_char__std::allocator_char___
lea ecx, [esp + 0x18]
call fcn.4000d5a9
push str.std::wstring
push str.std::basic_string_wchar_t_std::char_traits_wchar_t__std::allocator_wchar_t___
lea ecx, [esp + 0x18]
call fcn.4000d5a9
push dword [esp + 0x74]
lea eax, [esp + 0x18]
push dword [esp + 0x74]
push 0x4007dc34
push eax
call fcn.4000e7b4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
add esp, 0x10
push dword [eax - 0xc]
push eax
call fcn.4000e154
push dword [esp + 0x44]
lea eax, [esp + 0x18]
push dword [esp + 0x44]
push str.____0x_x
push eax
call fcn.4000e7b4
mov byte [esp + 0x824], 0
add esp, 0x10
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.40004636
jmp 0x4000b8b8
push dword [esp + 0x74]
lea eax, [esp + 0x18]
push dword [esp + 0x74]
push str.0x_08X
push eax
call fcn.4000e7b4
add esp, 0x10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push ecx
mov ecx, eax
mov dword [esp + 0x28], eax
mov esi, esp
call fcn.400073ec
add eax, 0x10
lea ecx, [esp + 0x34]
mov dword [esi], eax
call fcn.4000bdb1
call fcn.40001ce1
push eax
lea ecx, [esp + 0x1c]
call fcn.40006f05
push 0x688
lea eax, [esp + 0x184]
mov byte [esp + 0x818], 2
push 0
push eax
mov dword [esp + 0x184], 0x690
call fcn.40054740
add esp, 0xc
lea eax, [esp + 0x178]
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push edi
call dword [sym.imp.imagehlp.dll_SymGetModuleInfo64]
test eax, eax
je 0x4000b98e
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x4007dc68
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.4000d55a
test esi, esi
mov ecx, str._Unknown_Module_
cmovne ecx, esi
push ecx
lea ecx, [esp + 0x54]
call fcn.4000d502
mov byte [esp + 0x814], 3
lea ecx, [esp + 0x18]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.4000e154
mov byte [esp + 0x814], 2
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.40004636
jmp 0x4000b99c
push str.___Unknown_Module_
lea ecx, [esp + 0x1c]
call fcn.4000d55a
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push ecx
mov ecx, eax
mov dword [esp + 0x30], eax
mov esi, esp
call fcn.400073ec
add eax, 0x10
lea ecx, [esp + 0x34]
mov dword [esi], eax
call fcn.4000bdb1
xor eax, eax
mov dword [esp + 0x58], 0x18
lea edi, [esp + 0x5c]
and dword [esp + 0x3c], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x58]
mov edi, dword [esp + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push edi
call dword [sym.imp.imagehlp.dll_SymGetLineFromAddr64]
test eax, eax
je 0x4000ba96
call fcn.40001ce1
push eax
lea ecx, [esp + 0x24]
call fcn.40006f05
push 0x4007dc68
lea ecx, [esp + 0x24]
mov byte [esp + 0x818], 4
call fcn.4000d55a
push dword [esp + 0x64]
lea ecx, [esp + 0x3c]
call fcn.4000d502
mov byte [esp + 0x814], 5
lea ecx, [esp + 0x20]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.4000e154
mov byte [esp + 0x814], 4
mov ecx, dword [esp + 0x38]
lea ecx, [ecx - 0x10]
call fcn.40004636
push dword [esp + 0x60]
lea eax, [esp + 0x24]
push str.__lu_
push eax
call fcn.4000e7b4
mov edi, dword [esp + 0x2c]
pop ecx
pop ecx
mov esi, esp
lea ecx, [edi - 0x10]
call fcn.400073ec
add eax, 0x10
lea ecx, [esp + 0x34]
mov dword [esi], eax
call fcn.4000bdb1
lea ecx, [edi - 0x10]
call fcn.40004636
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
call fcn.40004636
mov ecx, dword [esp + 0x24]
or dword [esp + 0x814], 0xffffffff
call fcn.40004636
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ebp + 0x10]
jb 0x4000b76c
push edi
call dword [sym.imp.imagehlp.dll_SymCleanup]
push dword [esp + 0x4c]
call dword [sym.imp.imagehlp.dll_SymSetOptions]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10