Function at 0x492c00
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 ecx, dword [ebp + 0xc]
mov eax, dword [edi + 8]
mov esi, ecx
mov edx, dword [eax - 0xc]
mov dword [ebx], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + edx], ecx
mov edx, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x5c], ecx
mov dword [ebx + 4], edx
mov esi, dword [eax - 0xc]
mov eax, dword [ecx]
add esi, ebx
add ecx, dword [eax - 0xc]
mov dword [esp], ecx
mov dword [ebp - 0x68], ecx
mov ecx, esi
call method.std::ios_base._M_move_std::ios_base_
lea edx, [esi + 0x6c]
mov ecx, esi
sub esp, 4
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 [esi + 0x70], edx
movzx edx, byte [eax + 0x74]
mov byte [esi + 0x74], dl
movzx eax, byte [eax + 0x75]
mov dword [esi + 0x78], 0
mov byte [esi + 0x75], al
mov eax, dword [edi + 0x10]
mov dword [ecx + 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 edx, dword [edi + 0x20]
mov eax, dword [eax - 0xc]
mov dword [ebx + eax], edx
mov eax, dword [edi + 0x24]
lea edx, [ecx + 0xc]
mov dword [ebp - 0x6c], edx
mov dword [ebx + 8], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x48], 0xffffffff
mov edx, dword [ecx + 0x30]
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 0x492ef0
mov esi, dword [ebp - 0x5c]
sub eax, edx
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x40], eax
sar eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
mov esi, dword [ebp - 0x5c]
mov ecx, eax
sub ecx, edx
mov esi, dword [esi + 0x1c]
mov dword [ebp - 0x38], ecx
sar ecx, 0x1f
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x68], esi
test esi, esi
je 0x492da3
mov esi, dword [ebp - 0x68]
sub esi, edx
mov dword [ebp - 0x30], esi
sar esi, 0x1f
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x5c]
mov esi, dword [esi + 0x20]
sub esi, dword [ebp - 0x68]
mov ecx, esi
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x5c]
sar ecx, 0x1f
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x24]
mov esi, dword [ebp - 0x5c]
sub ecx, edx
mov dword [ebp - 0x20], ecx
sar ecx, 0x1f
cmp eax, dword [esi + 0x20]
mov dword [ebp - 0x1c], ecx
cmovb eax, dword [esi + 0x20]
test eax, eax
je 0x492daf
sub eax, edx
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.0047a6e0
mov edx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], 0x4bde50
lea ecx, [ebx + 0x38]
sub esp, 4
mov eax, dword [edx + 0x2c]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x2c], eax
mov eax, edx
mov edx, dword [edx + 0x30]
add eax, 0x38
cmp edx, eax
je 0x492f05
mov dword [ebx + 0x30], edx
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x38]
mov dword [ebx + 0x38], edx
mov edi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [edi + 0x34]
mov dword [ebx + 0x34], edx
mov edx, dword [ebp - 0x50]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 0
mov byte [edi + 0x38], 0
mov edi, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and edi, ecx
cmp edi, 0xffffffff
je 0x492e31
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
add ecx, eax
mov dword [edx + 4], ecx
add edi, eax
add esi, eax
mov dword [edx + 8], esi
mov dword [edx + 0xc], edi
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
and ecx, edi
mov dword [ebp - 0x70], edi
cmp ecx, 0xffffffff
je 0x492eb1
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
add ecx, eax
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], esi
mov dword [edx + 0x18], ecx
mov ecx, 0x7fffffff
cmp ecx, esi
mov ecx, 0
mov dword [ebp - 0x64], edi
sbb ecx, edi
mov dword [edx + 0x14], eax
mov dword [edx + 0x10], eax
jge 0x492eab
lea ecx, [eax + 0x7fffffff]
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0xc], eax
lea esi, [esi]
add dword [ebp - 0x68], 0x80000001
mov edi, 0x7fffffff
mov eax, ecx
adc dword [ebp - 0x64], 0xffffffff
add ecx, 0x7fffffff
cmp edi, dword [ebp - 0x68]
mov edi, 0
sbb edi, dword [ebp - 0x64]
jl 0x492e80
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edi
add eax, dword [ebp - 0x68]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
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 edi, dword [ebp - 0x60]
sub esp, 0xc
mov eax, dword [eax - 0xc]
mov dword [ebx + eax + 0x78], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [ecx + 0x1c]
xor eax, eax
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x492d66
jmp 0x492daf
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [eax + 4]
mov dword [ebx + 0x3c], edx
mov edx, dword [eax + 8]
mov dword [ebx + 0x40], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x44], edx
jmp 0x492df2