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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ecx], eax
add ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edi, ecx
mov dword [ecx], eax
mov eax, dword [ebx]
mov edx, dword [eax - 0xc]
add edx, ebx
mov dword [esp], edx
mov dword [ebp - 0x5c], edx
call method.std::ios_base._M_move_std::ios_base_
lea edx, [edi + 0x6c]
sub esp, 4
mov ecx, edi
mov dword [esp], edx
call method.std::basic_ios_char__std::char_traits_char___._M_cache_locale_std::locale_const_
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov edx, dword [eax + 0x70]
mov dword [eax + 0x70], 0
mov dword [edi + 0x70], edx
movzx edx, byte [eax + 0x74]
mov byte [edi + 0x74], dl
movzx eax, byte [eax + 0x75]
mov dword [edi + 0x78], 0
mov byte [edi + 0x75], al
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 0xc]
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
mov dword [esi + eax], edx
lea eax, [ebx + 4]
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x6c], eax
lea eax, [esi + 4]
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 8]
test edx, edx
je 0x49a544
sub edx, eax
mov dword [ebp - 0x48], edx
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov edx, dword [ebx + 0xc]
sub edx, eax
mov dword [ebp - 0x40], edx
sar edx, 0x1f
mov dword [ebp - 0x3c], edx
mov edx, dword [ebx + 0x10]
sub edx, eax
mov dword [ebp - 0x38], edx
sar edx, 0x1f
mov dword [ebp - 0x34], edx
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x49a578
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x30], ecx
sar ecx, 0x1f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x18]
sub ecx, edx
mov edx, ecx
mov dword [ebp - 0x28], ecx
sar edx, 0x1f
mov dword [ebp - 0x24], edx
mov edx, dword [ebx + 0x1c]
sub edx, eax
mov eax, edx
mov dword [ebp - 0x20], edx
sar eax, 0x1f
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 4]
mov ecx, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.0047e670
mov eax, dword [ebx + 0x24]
sub esp, 4
mov dword [esi + 4], 0x4b9c38
mov dword [esi + 0x24], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x28], eax
mov edx, dword [ebx + 0x28]
lea eax, [ebx + 0x30]
cmp edx, eax
je 0x49a6c0
mov dword [esi + 0x28], edx
mov edx, dword [ebx + 0x30]
mov dword [esi + 0x30], edx
mov edx, dword [ebx + 0x2c]
mov dword [esi + 0x2c], edx
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x50]
mov byte [ebx + 0x30], 0
mov edx, dword [ebp - 0x44]
mov dword [ebx + 0x2c], 0
mov ecx, eax
mov dword [ebp - 0x5c], eax
mov edi, dword [eax + 0x24]
mov eax, dword [ebp - 0x48]
and edx, eax
cmp edx, 0xffffffff
je 0x49a5fa
mov edx, dword [ebp - 0x38]
add eax, edi
add edx, edi
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x68]
add edx, edi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
and eax, ecx
cmp eax, 0xffffffff
je 0x49a66f
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
add ecx, edi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], edx
add eax, 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 0x49a664
jle 0x49a6b0
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
lea edi, [ecx + 0x7fffffff]
nop
add eax, 0x80000001
mov ecx, edi
adc edx, 0xffffffff
add edi, 0x7fffffff
cmp edx, 0
jg 0x49a640
jl 0x49a65e
cmp eax, 0x7fffffff
ja 0x49a640
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 [ebx + 0x28]
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 [esi]
mov ebx, dword [ebp - 0x60]
sub esp, 0xc
mov eax, dword [eax - 0xc]
mov dword [esi + eax + 0x78], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp dword [ebp - 0x68], 0x7fffffff
jbe 0x49a664
jmp 0x49a632
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0x5c], edx
mov edx, dword [ebx + 0x30]
mov dword [esi + 0x38], edi
mov edi, dword [ebp - 0x5c]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x3c], edi
jmp 0x49a5b3