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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [esp + 0x64], sym.___gxx_personality_sj0
mov dword [esp + 0x68], 0x46f4f4
lea eax, [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x46b56d
mov dword [esp + 0x74], esp
lea eax, [esp + 0x4c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 0x50], 0xffffffff
call sym.std::ostream::sentry::sentry_std::ostream_
cmp byte [esp + 0x88], 0
je 0x46b13d
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
mov eax, dword [eax - 0xc]
add edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [edx + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xb8]
cmp ecx, edx
jle 0x46b228
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
and edx, 0xb0
cmp edx, 0x20
sete byte [esp + 0x33]
jne 0x46b320
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x14]
test ecx, ecx
je 0x46b2a0
cmp byte [esp + 0x33], 0
jne 0x46b1a0
mov ecx, dword [esp + 0x24]
mov dword [ecx + 8], 0
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
add eax, dword [edx - 0xc]
mov dword [esp + 0x2c], eax
test byte [eax + 0xd], 0x20
je 0x46b180
call method.std.uncaught_exception__
test al, al
jne 0x46b180
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x78]
test eax, eax
je 0x46b180
mov edx, dword [eax]
mov dword [esp], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], 0xffffffff
call eax
inc eax
je 0x46b3ac
lea eax, [esp + 0x4c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [esp + 0xb0]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x14]
test edi, edi
jne 0x46b132
cmp byte [ecx + 0x75], 0
je 0x46b424
mov dl, byte [ecx + 0x74]
mov byte [esp + 0x32], dl
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0xb8]
mov dword [esp + 0x1c], edx
test edx, edx
jle 0x46b132
movzx ecx, byte [esp + 0x32]
mov dword [esp + 0x3c], ecx
jmp 0x46b1ec
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + eax + 0x78]
mov edx, dword [eax + 0x14]
cmp edx, dword [eax + 0x18]
jae 0x46b4d5
mov cl, byte [esp + 0x32]
mov byte [edx], cl
inc dword [eax + 0x14]
dec dword [esp + 0x1c]
jne 0x46b1e0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
add edx, dword [eax - 0xc]
mov dword [esp + 0x24], edx
jmp 0x46b132
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x78]
mov edx, dword [eax]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x50], 1
call eax
cmp dword [esp + 0xb8], eax
je 0x46b212
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov edx, dword [eax - 0xc]
add edx, ecx
mov eax, dword [edx + 0x14]
or eax, 1
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x50], 1
call method.std::basic_ios_char__std::char_traits_char___.clear_std::_Ios_Iostate_
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
add edx, dword [eax - 0xc]
mov dword [esp + 0x24], edx
jmp 0x46b132
mov eax, dword [edx + 0x78]
mov edx, dword [eax]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x50], 1
call eax
cmp dword [esp + 0xb8], eax
je 0x46b2fc
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov edx, dword [eax - 0xc]
add edx, ecx
mov eax, dword [edx + 0x14]
or eax, 1
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x50], 1
call method.std::basic_ios_char__std::char_traits_char___.clear_std::_Ios_Iostate_
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
mov eax, dword [eax - 0xc]
add edx, eax
mov dword [esp + 0x24], edx
cmp byte [esp + 0x33], 0
je 0x46b132
jmp 0x46b1a0
cmp byte [ecx + 0x75], 0
je 0x46b3d8
mov dl, byte [ecx + 0x74]
mov byte [esp + 0x31], dl
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0xb8]
mov dword [esp + 0x28], edx
test edx, edx
jle 0x46b11c
movzx ecx, byte [esp + 0x31]
mov dword [esp + 0x40], ecx
jmp 0x46b360
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
mov eax, dword [eax - 0xc]
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + eax + 0x78]
mov edx, dword [eax + 0x14]
cmp edx, dword [eax + 0x18]
jae 0x46b529
mov cl, byte [esp + 0x31]
mov byte [edx], cl
inc dword [eax + 0x14]
dec dword [esp + 0x28]
jne 0x46b354
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add ecx, eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x14]
test ecx, ecx
jne 0x46b12b
jmp 0x46b2a0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
add edx, dword [eax - 0xc]
mov eax, dword [edx + 0x14]
or eax, 1
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x50], 0xffffffff
call method.std::basic_ios_char__std::char_traits_char___.clear_std::_Ios_Iostate_
jmp 0x46b180
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x46b594
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1c], 0
je 0x46b470
mov al, byte [eax + 0x3d]
mov byte [esp + 0x31], al
mov al, byte [esp + 0x31]
mov edx, dword [esp + 0x24]
mov byte [edx + 0x74], al
mov byte [edx + 0x75], 1
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x46b331
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x46b5a1
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x1c], 0
je 0x46b4a4
mov al, byte [eax + 0x3d]
mov byte [esp + 0x32], al
mov al, byte [esp + 0x32]
mov edx, dword [esp + 0x24]
mov byte [edx + 0x74], al
mov byte [edx + 0x75], 1
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x46b1bc
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 0x50], 1
call method.std::ctype_char_._M_widen_init___const
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [esp + 4], 0x20
mov dword [esp], ecx
call dword [eax + 0x18]
mov byte [esp + 0x31], al
jmp 0x46b3fc
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 0x50], 1
call method.std::ctype_char_._M_widen_init___const
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov dword [esp + 4], 0x20
mov dword [esp], ecx
call dword [eax + 0x18]
mov byte [esp + 0x32], al
jmp 0x46b448
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x50], 1
call eax
inc eax
jne 0x46b20c
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
add edx, dword [eax - 0xc]
mov eax, dword [edx + 0x14]
or eax, 1
mov dword [esp + 4], eax
mov dword [esp], edx
call method.std::basic_ios_char__std::char_traits_char___.clear_std::_Ios_Iostate_
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
mov dword [esp + 0x24], ecx
jmp 0x46b132
mov edx, dword [eax]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x50], 1
call eax
inc eax
jne 0x46b380
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
add edx, dword [eax - 0xc]
mov eax, dword [edx + 0x14]
or eax, 1
mov dword [esp + 4], eax
mov dword [esp], edx
call method.std::basic_ios_char__std::char_traits_char___.clear_std::_Ios_Iostate_
jmp 0x46b386
mov dword [esp + 0x50], 1
call method.std.__throw_bad_cast__
mov dword [esp + 0x50], 1
call method.std.__throw_bad_cast__
mov dword [esp + 0x50], 0
call sym.___cxa_end_catch
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 0x50], 0
call sym.std::ostream::sentry::sentry__
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 0x50], 0xffffffff
call dbg._Unwind_SjLj_Resume
call sym.___cxa_end_catch
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
jmp 0x46b5c3