Function at 0x5dbef5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65b90b
mov eax, dword fs:[0]
push eax
mov eax, 0x100e0
call fcn.00628ef0
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x100e4], esi
mov dword [ebp - 0x100ec], eax
mov dword [ebp - 0x100e8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x100ec]
push eax
push ebx
call fcn.005ba1b2
pop ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 1
push accept
push dword [ebp - 0x100ec]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5dc03c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1003c]
push eax
call fcn.005ba29c
push ebx
lea eax, [ebp - 0x10084]
mov byte [ebp - 4], 1
push str.Error_opening
push eax
call fcn.005a0eb7
push 0x6e7b5c
push eax
lea eax, [ebp - 0x1006c]
mov byte [ebp - 4], 2
push eax
call fcn.005a0e4e
add esp, 0x20
lea ecx, [ebp - 0x1003c]
mov byte [ebp - 4], 3
push ecx
push eax
push dword [ebp - 0x100e4]
lea ecx, [ebp - 0x10054]
call fcn.005a16fc
mov ebx, 0x70d09c
mov ecx, ebx
call fcn.00449330
lea eax, [ebp - 0x10054]
mov ecx, ebx
push eax
call fcn.00449550
lea ecx, [ebp - 0x10054]
call fcn.00449330
lea ecx, [ebp - 0x1006c]
call fcn.00449330
lea ecx, [ebp - 0x10084]
call fcn.00449330
lea ecx, [ebp - 0x1003c]
call fcn.00449330
xor eax, eax
cmp dword [ebp - 0x100ec], eax
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x5dc151
lea eax, [ebp - 0x100e0]
push eax
call fcn.005dd60e
pop ecx
xor bl, bl
push 0
lea eax, [ebp - 0x100e4]
push eax
push 0xffff
lea eax, [ebp - 0x10024]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5dc0a8
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1003c]
push eax
call fcn.005ba29c
pop ecx
pop ecx
mov ecx, 0x70d09c
call fcn.00449330
lea eax, [ebp - 0x1003c]
mov ecx, 0x70d09c
push eax
call fcn.00449550
lea ecx, [ebp - 0x1003c]
call fcn.00449330
push dword [ebp - 0x100e4]
lea eax, [ebp - 0x10024]
push eax
lea eax, [ebp - 0x100e0]
push eax
call fcn.005dd640
add esp, 0xc
test bl, bl
jne 0x5dc0d5
cmp dword [ebp - 0x100e4], 0
ja 0x5dc04b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x100e0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.005dd566
pop ecx
pop ecx
test bl, bl
jne 0x5dc021
xor edi, edi
mov dl, byte [ebp + edi - 0x24]
mov al, dl
movzx ecx, dl
and al, 0xf0
cmp al, 0xa0
sbb al, al
shr ecx, 4
and al, 0xd9
add al, 0x57
add al, cl
mov byte [ebp + edi*2 - 0x10024], al
mov al, dl
and al, 0xf
cmp al, 0xa
sbb al, al
and dl, 0xf
and al, 0xd9
add al, 0x57
add al, dl
mov byte [ebp + edi*2 - 0x10023], al
inc edi
cmp edi, 0x14
jl 0x5dc0f8
lea eax, [ebp - 0x10024]
mov byte [ebp - 0xfffc], 0
push eax
mov ecx, esi
call fcn.00449380
cmp dword [ebp - 0x100ec], 0
je 0x5dc15f
push dword [ebp - 0x100ec]
call fcn.0062f9c7
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00628dca
leave
ret