Function at 0x46ccc8
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], 0x47142c
lea eax, [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x46d1c5
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 0x46cd95
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 0x46ce80
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
and edx, 0xb0
cmp edx, 0x20
sete byte [esp + 0x33]
jne 0x46cf78
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x14]
test ecx, ecx
je 0x46cef8
cmp byte [esp + 0x33], 0
jne 0x46cdf8
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 0x46cdd8
call method.std.uncaught_exception__
test al, al
jne 0x46cdd8
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x78]
test eax, eax
je 0x46cdd8
mov edx, dword [eax]
mov dword [esp], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], 0xffffffff
call eax
inc eax
je 0x46d004
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 0x46cd8a
cmp byte [ecx + 0x75], 0
je 0x46d07c
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 0x46cd8a
movzx ecx, byte [esp + 0x32]
mov dword [esp + 0x3c], ecx
jmp 0x46ce44
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 0x46d12d
mov cl, byte [esp + 0x32]
mov byte [edx], cl
inc dword [eax + 0x14]
dec dword [esp + 0x1c]
jne 0x46ce38
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
add edx, dword [eax - 0xc]
mov dword [esp + 0x24], edx
jmp 0x46cd8a
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 0x46ce6a
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 0x46cd8a
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 0x46cf54
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 0x46cd8a
jmp 0x46cdf8
cmp byte [ecx + 0x75], 0
je 0x46d030
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 0x46cd74
movzx ecx, byte [esp + 0x31]
mov dword [esp + 0x40], ecx
jmp 0x46cfb8
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 0x46d181
mov cl, byte [esp + 0x31]
mov byte [edx], cl
inc dword [eax + 0x14]
dec dword [esp + 0x28]
jne 0x46cfac
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 0x46cd83
jmp 0x46cef8
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 0x46cdd8
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x46d1ec
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1c], 0
je 0x46d0c8
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 0x46cf89
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x46d1f9
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x1c], 0
je 0x46d0fc
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 0x46ce14
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 0x46d054
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 0x46d0a0
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 0x46ce64
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 0x46cd8a
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 0x46cfd8
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 0x46cfde
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 0x46d21b