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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x7c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edx - 0xc]
mov ecx, dword [edi + 0xc]
mov dword [ebx + eax], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
add ecx, esi
mov eax, ecx
mov ecx, dword [edx - 0xc]
mov dword [esp], eax
mov dword [ebp - 0x68], eax
add ecx, ebx
mov dword [ebp - 0x5c], ecx
call method.std::ios_base._M_move_std::ios_base_
mov ecx, dword [ebp - 0x5c]
sub esp, 4
lea edx, [ecx + 0x6c]
mov dword [esp], edx
call method.std::basic_ios_char__std::char_traits_char___._M_cache_locale_std::locale_const_
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x5c]
sub esp, 4
mov edx, dword [eax + 0x70]
mov dword [eax + 0x70], 0
mov dword [ecx + 0x70], edx
movzx edx, byte [eax + 0x74]
mov byte [ecx + 0x74], dl
movzx eax, byte [eax + 0x75]
mov dword [ecx + 0x78], 0
mov byte [ecx + 0x75], al
mov eax, dword [edi + 0x10]
mov dword [esi + 4], 0
mov dword [ebx + 8], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 0x14]
mov dword [ebx + eax + 8], edx
mov eax, dword [edi + 4]
mov dword [ebx], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 0x18]
mov dword [ebx + eax], edx
mov eax, dword [edi + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 0x20]
mov dword [ebx + eax], edx
mov eax, dword [edi + 0x24]
mov dword [ebx + 8], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x6c], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
test edx, edx
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
mov eax, dword [esi + 0x30]
je 0x4a5a4f
sub edx, eax
mov dword [ebp - 0x48], edx
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov edx, dword [esi + 0x14]
sub edx, eax
mov dword [ebp - 0x40], edx
sar edx, 0x1f
mov dword [ebp - 0x3c], edx
mov edx, dword [esi + 0x18]
sub edx, eax
mov dword [ebp - 0x38], edx
sar edx, 0x1f
mov dword [ebp - 0x34], edx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x4a5a87
mov ecx, edx
mov dword [ebp - 0x5c], edx
sub ecx, eax
mov dword [ebp - 0x30], ecx
sar ecx, 0x1f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x20]
sub ecx, dword [ebp - 0x5c]
mov edx, ecx
mov dword [ebp - 0x28], ecx
sar edx, 0x1f
mov dword [ebp - 0x24], edx
mov edx, dword [esi + 0x24]
sub edx, eax
mov eax, edx
mov dword [ebp - 0x20], edx
sar eax, 0x1f
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.00489470
mov eax, dword [esi + 0x2c]
sub esp, 4
mov dword [ebx + 0xc], 0x4ddb38
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x38]
mov dword [ebx + 0x30], eax
mov edx, dword [esi + 0x30]
lea eax, [esi + 0x38]
cmp edx, eax
je 0x4a5bd0
mov dword [ebx + 0x30], edx
mov edx, dword [esi + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [esi + 0x34]
mov dword [ebx + 0x34], edx
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x50]
mov byte [esi + 0x38], 0
mov edx, dword [ebp - 0x44]
mov dword [esi + 0x34], 0
mov edi, eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x48]
and edx, eax
cmp edx, 0xffffffff
je 0x4a5b09
mov edx, dword [ebp - 0x38]
add eax, ecx
add edx, ecx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x40]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x68]
add edx, ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
and eax, edi
cmp eax, 0xffffffff
je 0x4a5b80
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], edx
add eax, ecx
add ecx, edi
cmp dword [ebp - 0x64], 0
mov edi, dword [ebp - 0x5c]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x18], eax
jl 0x4a5b75
jle 0x4a5bc0
mov eax, dword [ebp - 0x5c]
mov edi, eax
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
lea esi, [esi]
add ecx, 0x7fffffff
add eax, 0x80000001
adc edx, 0xffffffff
cmp edx, 0
jg 0x4a5b50
jl 0x4a5b6c
cmp eax, 0x7fffffff
ja 0x4a5b50
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x5c]
add eax, ecx
mov dword [edi + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x6c]
mov dword [esp], eax
call method.std::__cxx11::basic_stringbuf_char__std::char_traits_char___std::allocator_char___._M_sync_char__unsigned_int__unsigned_int_
mov eax, dword [ebx]
mov esi, dword [ebp - 0x60]
sub esp, 0xc
mov eax, dword [eax - 0xc]
mov dword [ebx + eax + 0x78], esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp dword [ebp - 0x68], 0x7fffffff
jbe 0x4a5b75
jmp 0x4a5b46
mov edx, dword [esi + 0x44]
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x5c], edx
mov edx, dword [esi + 0x38]
mov dword [ebx + 0x40], edi
mov edi, dword [ebp - 0x5c]
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x44], edi
jmp 0x4a5ac2