Function at 0x4e4b50
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 dword [ebp - 0x64], ecx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [eax - 0xc]
mov ecx, dword [edi + 0xc]
mov dword [ebx + edx], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax - 0xc]
mov eax, dword [esi]
add ecx, ebx
mov edx, dword [eax - 0xc]
add edx, esi
mov dword [esp], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x60], ecx
call method.std::ios_base._M_move_std::ios_base_
mov ecx, dword [ebp - 0x60]
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 - 0x60]
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
sub esp, 4
mov edx, dword [eax + 0x70]
mov dword [eax + 0x70], 0
movzx eax, word [eax + 0x74]
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x70], edx
mov word [ecx + 0x74], ax
mov eax, dword [edi + 0x10]
mov dword [esi + 4], 0
mov edx, dword [edi + 0x14]
mov dword [ebx + 8], eax
mov eax, dword [eax - 0xc]
mov dword [ebx + eax + 8], edx
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x18]
mov dword [ebx], eax
mov eax, dword [eax - 0xc]
mov dword [ebx + eax], edx
mov eax, dword [edi + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
mov dword [ebx], eax
mov eax, dword [eax - 0xc]
mov dword [ebx + eax], edx
mov eax, dword [edi + 0x24]
mov dword [ebx + 8], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3c], 0xffffffff
mov edx, dword [esi + 0x30]
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 0x4e4e40
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 ecx, eax
sub ecx, edx
mov dword [ebp - 0x38], ecx
sar ecx, 0x1f
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4e4e76
mov ebx, ecx
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x68]
sub ebx, edx
mov dword [ebp - 0x30], ebx
sar ebx, 0x1f
mov dword [ebp - 0x2c], ebx
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x60], ebx
sub ebx, ecx
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x28], ebx
sar ebx, 0x1f
sub ecx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
sar ecx, 0x1f
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x4e4f2c
mov ebx, dword [ebp - 0x60]
cmp eax, ebx
cmovb eax, ebx
sub eax, edx
mov dword [esi + 0x34], eax
lea eax, [esi + 0xc]
mov dword [esp], eax
mov ecx, dword [ebp - 0x6c]
call fcn.004c7340
mov edi, dword [ebp - 0x64]
mov eax, dword [esi + 0x2c]
sub esp, 4
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x38]
mov dword [edi + 0x30], eax
mov edx, dword [esi + 0x30]
mov dword [edi + 0xc], 0x5435a0
lea edi, [esi + 0x38]
mov dword [ebp - 0x68], edi
cmp edx, edi
je 0x4e4ea0
mov edi, dword [ebp - 0x64]
mov eax, dword [esi + 0x38]
mov dword [edi + 0x30], edx
mov dword [edi + 0x38], eax
mov ebx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x44]
mov dword [esi + 0x34], 0
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0x34], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x30]
mov edx, ecx
mov byte [esi + 0x38], 0
and edx, edi
cmp edx, 0xffffffff
je 0x4e4d71
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add ecx, eax
mov dword [ebx + 0x10], ecx
add edx, eax
add edi, eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edx
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x60], edx
and edx, edi
cmp edx, 0xffffffff
je 0x4e4de9
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
add edx, eax
add eax, edi
mov edi, dword [ebp - 0x64]
mov dword [edi + 0x24], edx
mov edx, 0x7fffffff
cmp edx, ecx
mov edx, 0
mov dword [edi + 0x1c], eax
sbb edx, ebx
jge 0x4e4de1
mov dword [ebp - 0x60], ecx
xor edx, edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp + 0xc], esi
lea esi, [esi]
add eax, 0x7fffffff
add dword [ebp - 0x60], 0x80000001
mov ecx, dword [ebp - 0x60]
mov esi, 0x7fffffff
adc dword [ebp - 0x5c], 0xffffffff
mov ebx, dword [ebp - 0x5c]
mov edi, edx
cmp esi, ecx
sbb edi, ebx
jl 0x4e4db8
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x64]
add eax, ecx
mov dword [edx + 0x20], eax
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
mov edi, dword [ebp - 0x68]
mov ecx, edx
and edx, 0x10
and ecx, 8
cmp eax, edi
je 0x4e4ed8
mov edi, dword [esi + 0x38]
add edi, eax
test ecx, ecx
je 0x4e4e88
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
test edx, edx
je 0x4e4e21
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], edi
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov dword [esi + eax + 0x78], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4e4cec
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x30], eax
sar eax, 0x1f
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x28], ebx
sar ebx, 0x1f
sub ecx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
sar ecx, 0x1f
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x4e4cec
jmp 0x4e4ce7
test edx, edx
je 0x4e4e21
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
jmp 0x4e4e21
lea edx, [ecx + 1]
cmp edx, 4
jae 0x4e4ee8
test edx, edx
je 0x4e4d33
movzx ecx, byte [esi + 0x38]
mov edi, dword [ebp - 0x64]
mov byte [edi + 0x38], cl
test dl, 2
je 0x4e4f24
mov edi, dword [ebp - 0x68]
movzx ecx, word [edi + edx - 2]
mov word [eax + edx - 2], cx
mov ecx, dword [esi + 0x34]
jmp 0x4e4d33
mov edi, 0xf
jmp 0x4e4e05
mov edi, dword [ebp - 0x64]
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x38], ecx
mov ebx, dword [ebp - 0x68]
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea ecx, [edi + 0x3c]
mov edi, ebx
and ecx, 0xfffffffc
sub eax, ecx
add edx, eax
sub edi, eax
and edx, 0xfffffffc
cmp edx, 4
jb 0x4e4f24
and edx, 0xfffffffc
xor eax, eax
mov ebx, dword [edi + eax]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, edx
jb 0x4e4f17
mov ecx, dword [esi + 0x34]
jmp 0x4e4d33
mov eax, dword [ebp - 0x60]
jmp 0x4e4e76