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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
lea edi, [esp + 0x1c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov dword [esp], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], dbg.__gxx_personality_sj0
mov dword [esp + 0x38], 0x63f4fc68
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x63ed7537
mov dword [esp + 0x44], esp
call dbg._Unwind_SjLj_Register
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov byte [eax], 0
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x63ed743e
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x63ed7470
mov ecx, eax
mov dword [esp + 0x20], 1
call dbg.std::ostream::flush()
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
cmp byte [esp + 0x14], 0
jne 0x63ed7437
test byte [ecx + 0xd], 0x10
je 0x63ed7437
mov esi, dword [ecx + 0x78]
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x63ed74f8
mov esi, dword [ecx + 0x7c]
movzx eax, byte [eax]
mov dword [esp + 0x18], esi
test esi, esi
je 0x63ed752a
mov edi, dword [esp + 0x18]
movzx eax, al
mov edx, dword [edi + 0x18]
test byte [edx + eax*2], 0x20
je 0x63ed742a
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
cmp eax, edx
jae 0x63ed7498
add eax, 1
mov dword [ebx + 8], eax
cmp eax, edx
jae 0x63ed74c0
mov edi, dword [esp + 0x18]
movzx eax, byte [eax]
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x63ed73f7
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x63ed7488
or eax, 4
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call dbg.std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)
sub esp, 4
lea eax, [esp + 0x1c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp byte [esp + 0x14], 0
jne 0x63ed7488
test byte [ecx + 0xd], 0x10
jne 0x63ed73c2
lea esi, [esi]
mov eax, dword [esp + 0x10]
mov byte [eax], 1
jmp 0x63ed7454
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], 1
call eax
cmp eax, 0xffffffff
je 0x63ed74dc
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
jmp 0x63ed740f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], 1
call eax
cmp eax, 0xffffffff
jne 0x63ed73e7
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
mov eax, dword [ecx + 0x14]
or eax, 2
jmp 0x63ed743e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], 1
call eax
mov esi, dword [esp + 0x70]
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
add ecx, esi
mov esi, dword [ecx + 0x7c]
mov dword [esp + 0x18], esi
test esi, esi
je 0x63ed752a
cmp eax, 0xffffffff
jne 0x63ed73e7
jmp 0x63ed74e9
mov dword [esp + 0x20], 1
call dbg.std::__throw_bad_cast()
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x63ed7584
mov eax, dword [esp + 0x14]
sub edx, 1
mov dword [esp], eax
jne 0x63ed75a2
call dbg.__cxa_begin_catch
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x70]
mov eax, dword [eax]
add esi, dword [eax - 0xc]
or dword [esi + 0x14], 1
test byte [esi + 0x10], 1
mov dword [esp + 0x20], 2
je 0x63ed7603
call dbg.__cxa_rethrow
sub eax, 1
jne 0x63ed75dd
call dbg.__cxa_end_catch
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call dbg._Unwind_SjLj_Resume
call dbg.__cxa_begin_catch
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x70]
mov eax, dword [eax]
add esi, dword [eax - 0xc]
or dword [esi + 0x14], 1
test byte [esi + 0x10], 1
je 0x63ed75cb
mov dword [esp + 0x20], 3
call dbg.__cxa_rethrow
mov dword [esp + 0x20], 0xffffffff
call dbg.__cxa_end_catch
jmp 0x63ed742a
sub eax, 1
jne 0x63ed7601
xor eax, eax
mov dword [esp + 0x20], eax
call dbg.__cxa_end_catch
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call dbg._Unwind_SjLj_Resume
ud2
call dbg.__cxa_rethrow
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
lea edi, [esp + 0x1c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov dword [esp], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], dbg.__gxx_personality_sj0
mov dword [esp + 0x38], 0x63f4fc50
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x63ed7817
mov dword [esp + 0x44], esp
call dbg._Unwind_SjLj_Register
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov byte [eax], 0
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x63ed771e
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x63ed7750
mov ecx, eax
mov dword [esp + 0x20], 1
call dbg.std::ostream::flush()
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
cmp byte [esp + 0x14], 0
jne 0x63ed7717
test byte [ecx + 0xd], 0x10
je 0x63ed7717
mov esi, dword [ecx + 0x78]
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x63ed77d8
mov esi, dword [ecx + 0x7c]
movzx eax, byte [eax]
mov dword [esp + 0x18], esi
test esi, esi
je 0x63ed780a
mov edi, dword [esp + 0x18]
movzx eax, al
mov edx, dword [edi + 0x18]
test byte [edx + eax*2], 0x20
je 0x63ed770a
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
cmp eax, edx
jae 0x63ed7778
add eax, 1
mov dword [ebx + 8], eax
cmp eax, edx
jae 0x63ed77a0
mov edi, dword [esp + 0x18]
movzx eax, byte [eax]
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x63ed76d7
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x63ed7768
or eax, 4
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call dbg.std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)
sub esp, 4
lea eax, [esp + 0x1c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp byte [esp + 0x14], 0
jne 0x63ed7768
test byte [ecx + 0xd], 0x10
jne 0x63ed76a2
lea esi, [esi]
mov eax, dword [esp + 0x10]
mov byte [eax], 1
jmp 0x63ed7734
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], 1
call eax
cmp eax, 0xffffffff
je 0x63ed77bc
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
jmp 0x63ed76ef
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], 1
call eax
cmp eax, 0xffffffff
jne 0x63ed76c7
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
mov eax, dword [ecx + 0x14]
or eax, 2
jmp 0x63ed771e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], 1
call eax
mov esi, dword [esp + 0x70]
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
add ecx, esi
mov esi, dword [ecx + 0x7c]
mov dword [esp + 0x18], esi
test esi, esi
je 0x63ed780a
cmp eax, 0xffffffff
jne 0x63ed76c7
jmp 0x63ed77c9
mov dword [esp + 0x20], 1
call dbg.std::__throw_bad_cast()
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x63ed7864
mov eax, dword [esp + 0x14]
sub edx, 1
mov dword [esp], eax
jne 0x63ed7882
call dbg.__cxa_begin_catch
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x70]
mov eax, dword [eax]
add esi, dword [eax - 0xc]
or dword [esi + 0x14], 1
test byte [esi + 0x10], 1
mov dword [esp + 0x20], 2
je 0x63ed78e3
call dbg.__cxa_rethrow
sub eax, 1
jne 0x63ed78bd
call dbg.__cxa_end_catch
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call dbg._Unwind_SjLj_Resume
call dbg.__cxa_begin_catch
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x70]
mov eax, dword [eax]
add esi, dword [eax - 0xc]
or dword [esi + 0x14], 1
test byte [esi + 0x10], 1
je 0x63ed78ab
mov dword [esp + 0x20], 3
call dbg.__cxa_rethrow
mov dword [esp + 0x20], 0xffffffff
call dbg.__cxa_end_catch
jmp 0x63ed770a
sub eax, 1
jne 0x63ed78e1
xor eax, eax
mov dword [esp + 0x20], eax
call dbg.__cxa_end_catch
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call dbg._Unwind_SjLj_Resume
ud2
call dbg.__cxa_rethrow
nop
nop
nop
nop
nop
nop
nop
nop