Function at 0x4cfd90
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x548038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.004cef30
xor ebx, ebx
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], 0x56369c
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x18]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x44], ebx
call ebp
mov eax, dword [0x67a7f0]
add esp, 0x10
cmp eax, 0x19
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], ebx
jl 0x4cfe24
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x10]
push eax
push 1
push 4
push ecx
call ebp
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x4c]
push edx
push 1
push 4
push eax
call ebp
add esp, 0x20
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
movsx edx, word [0x6969de]
shl edx, 3
push edx
mov edi, eax
call fcn.00478e60
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, ebx
je 0x4cfe7b
push ebx
push eax
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
movsx edx, word [0x6969de]
mov ecx, dword [0x67a8cc]
mov eax, dword [esi + 0x18]
push ecx
push edx
push 8
push eax
call ebp
add esp, 0x1c
jmp 0x4cfea2
xor eax, eax
cmp word [0x6969de], bx
jle 0x4cfea2
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
mov dword [ecx + eax*8], edx
mov edx, dword [esi + 0x10]
mov dword [ecx + eax*8 + 4], edx
inc eax
movsx ecx, word [0x6969de]
cmp eax, ecx
jl 0x4cfe86
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edx
push ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004d00f0
mov edx, dword [0x67a8cc]
push ebx
push edi
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
movsx eax, word [0x6969de]
shl eax, 2
push eax
call fcn.00478e60
mov edi, eax
xor eax, eax
mov dword [esi + 0x20], edi
movsx ecx, word [0x6969de]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x2c]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [0x67a8cc]
xor eax, eax
mov dword [esp + 0x2d], eax
push ecx
push 4
mov word [esp + 0x39], ax
push 1
push edx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x43], al
call ebp
add esp, 0x20
mov edi, str.tflg
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4cff51
cmp cl, bl
je 0x4cff4d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4cff51
add eax, 2
add edi, 2
cmp cl, bl
jne 0x4cff2d
xor eax, eax
jmp 0x4cff56
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4d0004
mov eax, dword [0x67a8cc]
lea edi, [esi + 0x1c]
push eax
push 1
push 4
push edi
call ebp
mov ecx, dword [0x67a8e4]
mov eax, dword [edi]
add esp, 0x10
test eax, ecx
je 0x4d0017
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x14]
push edx
push 1
push 4
push eax
mov dword [esp + 0x24], ebx
call ebp
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [0x67a8cc]
push ebx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
movsx edx, word [0x6969de]
mov ecx, dword [0x67a8cc]
mov eax, dword [esi + 0x20]
push ecx
push edx
push 4
push eax
call ebp
add esp, 0x30
xor eax, eax
cmp word [0x6969de], bx
jle 0x4cfff9
mov ecx, dword [esi + 0x14]
cmp byte [ecx + eax*8 + 3], 2
jae 0x4cffed
mov edx, dword [esi + 0x20]
mov dword [edx + eax*4], ebx
movsx ecx, word [0x6969de]
inc eax
cmp eax, ecx
jl 0x4cffdd
mov edx, dword [0x67a8cc]
push ebx
push edi
push edx
jmp 0x4d000e
mov eax, dword [0x67a8cc]
push 1
push 0xfffffffffffffffc
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4