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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ecx, dword [ebp + 0x58]
test ecx, ecx
je 0x6dfffd98
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
test eax, eax
cmovns edx, eax
setle al
mov dword [esp + 0x24], edx
mov edx, edi
mov dword [ebx], 0xffffffff
or edx, esi
mov dword [ebx + 4], 0xffffffff
mov dword [esp + 0x28], edx
setne dl
and edx, eax
mov dword [ebx + 8], 0
mov byte [esp + 0x20], dl
lea edx, [ebp + 0x28]
mov ecx, edx
mov dword [esp + 0x2c], edx
call method.std::__basic_file_char_.is_open___const
cmp al, 1
jne 0x6dfffcd1
cmp byte [esp + 0x20], 0
je 0x6dfffce0
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
cmp dword [esp + 0x7c], 1
jne 0x6dfffdc0
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x6dfffdc0
cmp byte [ebp + 0x4a], 0
jne 0x6dfffdb0
mov eax, dword [ebp + 0x34]
cmp byte [ebp + 0x49], 0
mov dword [esp + 0x3c], eax
je 0x6dfffe90
mov eax, dword [ebp + 0x3c]
mov ecx, ebp
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call method.std::basic_filebuf_char__std::char_traits_char___._M_get_ext_pos_int_
mov edi, eax
sub esp, 4
mov esi, eax
sar edi, 0x1f
cmp byte [ebp + 0x4a], 0
je 0x6dfffd42
mov esi, dword [ebp + 0x14]
sub esi, dword [ebp + 0x10]
mov edi, esi
sar edi, 0x1f
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0
mov dword [esp + 4], 0
call method.std::__basic_file_char_.seekoff_long_long__std::_Ios_Seekdir_
mov ebp, eax
mov ecx, edx
sub esp, 0xc
not ebp
not ecx
or ecx, ebp
je 0x6dfffcd1
add eax, esi
mov dword [ebx], eax
mov eax, dword [esp + 0x3c]
adc edx, edi
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 0x24], 0
mov eax, 1
jmp 0x6dfffc93
mov ecx, dword [ebp + 0x58]
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x6dfffe70
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cdq
mov eax, dword [esp + 0x24]
mov ecx, edx
imul eax, esi
imul ecx, edi
add ecx, eax
mov eax, dword [esp + 0x24]
mul edi
mov edi, edx
mov esi, eax
movzx edx, byte [ebp + 0x49]
add edi, ecx
cmp byte [ebp + 0x54], 0
je 0x6dfffe14
mov ecx, dword [ebp + 4]
xor eax, eax
cmp dword [ebp + 8], ecx
mov byte [ebp + 0x54], 0
mov ecx, dword [ebp + 0x40]
setne al
add eax, dword [ebp + 0x4c]
mov dword [ebp + 0x4c], eax
mov dword [ebp + 4], ecx
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
test dl, dl
je 0x6dfffe2f
cmp dword [esp + 0x7c], 1
je 0x6dfffe99
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], esi
lea ecx, [esp + 0x40]
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call method.std::basic_filebuf_char__std::char_traits_char___._M_seek_long_long__std::_Ios_Seekdir__int_
sub esp, 0x14
mov eax, dword [esp + 0x40]
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 8], eax
jmp 0x6dfffcd1
mov eax, dword [ebp + 0x34]
cmp byte [ebp + 0x49], 0
mov dword [esp + 0x3c], eax
jne 0x6dfffd12
xor esi, esi
xor edi, edi
jmp 0x6dfffd31
xor esi, esi
xor edi, edi
jmp 0x6dfffd42
mov eax, dword [ebp + 0x3c]
mov ecx, ebp
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call method.std::basic_filebuf_char__std::char_traits_char___._M_get_ext_pos_int_
push edx
cdq
add esi, eax
mov eax, dword [esp + 0x3c]
adc edi, edx
mov dword [esp + 0x20], eax
jmp 0x6dfffe2f