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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x18]
push ebx
sub esp, 0xac
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x74], sym.___gxx_personality_sj0
mov dword [ebp - 0x70], 0x4e2ebe
mov dword [ebp - 0x68], 0x4c7910
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x90]
mov eax, dword [eax + 8]
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ebp + 0xc]
mov edx, dword [eax - 0xc]
mov dword [edi], eax
mov dword [edi + edx], ecx
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
mov esi, dword [eax - 0xc]
mov eax, dword [ebx]
add esi, edi
mov edx, dword [eax - 0xc]
mov ecx, esi
add edx, ebx
mov dword [ebp - 0x98], edx
mov dword [esp], edx
mov dword [ebp - 0x94], esi
call method.std::ios_base._M_move_std::ios_base_
mov ebx, dword [ebp - 0x94]
sub esp, 4
lea eax, [ebx + 0x6c]
mov ecx, ebx
mov dword [esp], eax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x88], 0xffffffff
call method.std::basic_ios_wchar_t__std::char_traits_wchar_t___._M_cache_locale_std::locale_const_
mov edx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp + 8]
sub esp, 4
mov eax, dword [edx + 0x70]
mov dword [ebx + 0x78], 0
mov dword [edx + 0x70], 0
mov dword [ebx + 0x70], eax
movzx eax, word [edx + 0x74]
mov word [ebx + 0x74], ax
movzx eax, byte [edx + 0x76]
mov edx, dword [esi + 0x14]
mov byte [ebx + 0x76], al
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [edi + 8], eax
mov eax, dword [eax - 0xc]
mov dword [edi + eax + 8], edx
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x18]
mov dword [edi], eax
mov eax, dword [eax - 0xc]
mov dword [edi + eax], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 8], eax
mov eax, dword [esi]
mov edx, dword [esi + 0x20]
mov dword [edi], eax
mov eax, dword [eax - 0xc]
mov dword [edi + eax], edx
mov eax, dword [esi + 0x24]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x48], 0xffffffff
mov dword [edi + 8], eax
lea eax, [edi + 0xc]
mov dword [ebp - 0x94], eax
lea esi, [ebx + 0xc]
mov edx, dword [ebx + 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
test eax, eax
je 0x4c78e0
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x9c], eax
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
sar eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov ecx, eax
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x38], ecx
sar ecx, 0x1f
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x4c776b
mov ebx, ecx
sub ebx, edx
sar ebx, 1
mov dword [ebp - 0x30], ebx
sar ebx, 0x1f
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx + 0x20]
mov esi, ebx
sub esi, ecx
mov ecx, esi
mov esi, dword [ebp + 0xc]
sar ecx, 1
mov dword [ebp - 0x28], ecx
sar ecx, 0x1f
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x9c], ecx
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x20], ecx
sar ecx, 0x1f
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
cmovb eax, ebx
test eax, eax
je 0x4c7779
mov ebx, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], 1
call fcn.004aaff0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x90]
sub esp, 4
mov eax, dword [eax + 0x2c]
lea ecx, [esi + 0x38]
mov dword [esi + 0xc], 0x4ef78c
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x30]
add eax, 0x38
cmp edx, eax
je 0x4c78f0
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x30], edx
mov edx, dword [ecx + 0x38]
mov dword [esi + 0x38], edx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x90]
mov edx, dword [ecx + 0x34]
mov dword [ecx + 0x30], eax
mov ebx, ecx
mov dword [ecx + 0x34], 0
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [esi + 0x34], edx
mov edx, dword [ebp - 0x44]
mov word [ebx + 0x38], cx
mov ecx, dword [ebp - 0x50]
and edx, eax
mov ebx, dword [ecx + 0x24]
cmp edx, 0xffffffff
je 0x4c7825
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
lea eax, [ebx + eax*2]
mov dword [ecx + 4], eax
lea edx, [ebx + edx*2]
lea esi, [ebx + esi*2]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
and eax, esi
cmp eax, 0xffffffff
je 0x4c7883
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
lea edi, [ebx + edi*2]
lea ebx, [ebx + esi*2]
mov esi, 0x7fffffff
cmp esi, eax
mov esi, 0
mov dword [ecx + 0x10], ebx
sbb esi, edx
mov dword [ecx + 0x18], edi
jge 0x4c787d
lea esi, [ebx - 2]
lea esi, [esi]
add eax, 0x80000001
mov edi, 0x7fffffff
mov ebx, esi
adc edx, 0xffffffff
sub esi, 2
cmp edi, eax
mov edi, 0
sbb edi, edx
jl 0x4c7860
lea eax, [ebx + eax*2]
mov dword [ecx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
mov ecx, dword [ebp - 0x98]
call method.std::__cxx11::basic_stringbuf_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_sync_wchar_t__unsigned_int__unsigned_int_
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
sub esp, 0xc
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
mov dword [ecx + eax + 0x78], esi
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jne 0x4c7727
jmp 0x4c7779
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x38]
mov dword [esi + 0x38], edx
mov edx, dword [eax + 4]
mov dword [esi + 0x3c], edx
mov edx, dword [eax + 8]
mov dword [esi + 0x40], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x44], edx
jmp 0x4c77d9