Function at 0x4c90b0
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], 0x4e2cf6
mov dword [ebp - 0x68], 0x4c9448
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x90]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [eax - 0xc]
mov dword [edi], eax
mov dword [edi + edx], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov esi, dword [eax - 0xc]
mov eax, dword [ecx]
add esi, edi
mov edx, dword [eax - 0xc]
add edx, ecx
mov ecx, esi
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_char__std::char_traits_char___._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 edx, dword [esi + 0xc]
mov word [ebx + 0x74], ax
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x48], 0xffffffff
mov dword [edi + eax], edx
lea eax, [edi + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x98], edi
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0xffffffff
mov ebx, dword [eax + 0x2c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c9410
sub eax, ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x9c], eax
sub eax, ebx
mov dword [ebp - 0x40], eax
sar eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov edx, eax
sub edx, ebx
mov dword [ebp - 0x38], edx
sar edx, 0x1f
mov dword [ebp - 0x34], edx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x4c92a3
mov ecx, edx
mov esi, dword [ebp + 0xc]
sub ecx, ebx
mov dword [ebp - 0x30], ecx
sar ecx, 0x1f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x1c]
mov esi, ecx
sub esi, edx
mov edx, esi
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 0xc]
sar edx, 0x1f
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x24], edx
mov edx, edi
mov dword [ebp - 0x9c], edi
sub edx, ebx
mov dword [ebp - 0x20], edx
sar edx, 0x1f
cmp eax, ecx
mov dword [ebp - 0x1c], edx
cmovb eax, ecx
test eax, eax
je 0x4c92af
sub eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], 1
call fcn.004aa570
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x90]
sub esp, 4
mov eax, dword [eax + 0x28]
lea ecx, [esi + 0x34]
mov dword [esi + 8], 0x4ef74c
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x2c]
add eax, 0x34
cmp edx, eax
je 0x4c9428
mov ebx, dword [ebp - 0x90]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x2c], edx
mov edx, dword [ecx + 0x34]
mov dword [ebx + 0x34], edx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x48]
mov edx, dword [edi + 0x30]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x30], 0
mov dword [ebx + 0x30], edx
mov edx, dword [ebp - 0x50]
and eax, ecx
mov byte [edi + 0x34], 0
mov esi, dword [edx + 0x24]
cmp eax, 0xffffffff
je 0x4c9354
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x40]
add ecx, esi
mov dword [edx + 4], ecx
add eax, esi
add ebx, esi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
and ecx, eax
cmp ecx, 0xffffffff
je 0x4c93b6
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
add eax, esi
mov ebx, dword [ebp - 0x24]
mov dword [edx + 0x10], eax
add edi, esi
mov esi, 0x7fffffff
cmp esi, ecx
mov esi, 0
mov dword [edx + 0x18], edi
sbb esi, ebx
jge 0x4c93b1
lea esi, [eax + 0x7fffffff]
lea esi, [esi]
add ecx, 0x80000001
mov edi, 0x7fffffff
mov eax, esi
adc ebx, 0xffffffff
add esi, 0x7fffffff
cmp edi, ecx
mov edi, 0
sbb edi, ebx
jl 0x4c9390
add eax, ecx
mov dword [edx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x98]
call method.std::__cxx11::basic_stringbuf_char__std::char_traits_char___std::allocator_char___._M_sync_char__unsigned_int__unsigned_int_
mov ebx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
sub esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
mov dword [ebx + 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 [ebp + 0xc]
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x4c9263
jmp 0x4c92af
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x34], edx
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
mov edx, dword [eax + 8]
mov dword [esi + 0x3c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x40], edx
jmp 0x4c930f