Function at 0x497a60
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 edx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [edx - 0xc]
mov dword [esi + eax], ecx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
add ecx, ebx
mov eax, ecx
mov ecx, dword [edx - 0xc]
mov dword [esp], eax
mov dword [ebp - 0x5c], eax
add ecx, esi
mov edi, ecx
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 dword [ebx + 4], 0
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 + 8]
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x6c], eax
lea eax, [esi + 8]
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 + 0x2c]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x497b86
sub edx, eax
mov dword [ebp - 0x48], edx
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov edx, dword [ebx + 0x10]
sub edx, eax
mov dword [ebp - 0x40], edx
sar edx, 0x1f
mov dword [ebp - 0x3c], edx
mov edx, dword [ebx + 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
sar edx, 0x1f
mov dword [ebp - 0x34], edx
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x497bba
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x30], ecx
sar ecx, 0x1f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x1c]
sub ecx, edx
mov edx, ecx
mov dword [ebp - 0x28], ecx
sar edx, 0x1f
mov dword [ebp - 0x24], edx
mov edx, dword [ebx + 0x20]
sub edx, eax
mov eax, edx
mov dword [ebp - 0x20], edx
sar eax, 0x1f
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 8]
mov ecx, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.0047e800
mov eax, dword [ebx + 0x28]
sub esp, 4
mov dword [esi + 8], 0x4b9a38
mov dword [esi + 0x28], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x2c], eax
mov edx, dword [ebx + 0x2c]
lea eax, [ebx + 0x34]
cmp edx, eax
je 0x497d00
mov dword [esi + 0x2c], edx
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x34], edx
mov edx, dword [ebx + 0x30]
mov dword [esi + 0x30], edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x50]
mov byte [ebx + 0x34], 0
mov edx, dword [ebp - 0x44]
mov dword [ebx + 0x30], 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 0x497c3c
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 0x497cb0
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 0x497ca5
jle 0x497cf0
mov eax, dword [ebp - 0x5c]
mov edi, eax
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
nop
add ecx, 0x7fffffff
add eax, 0x80000001
adc edx, 0xffffffff
cmp edx, 0
jg 0x497c80
jl 0x497c9c
cmp eax, 0x7fffffff
ja 0x497c80
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 [ebx + 0x2c]
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 0x497ca5
jmp 0x497c79
mov edx, dword [ebx + 0x40]
mov edi, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x5c], edx
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x3c], edi
mov edi, dword [ebp - 0x5c]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x40], edi
jmp 0x497bf5