Function at 0x44ce30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 0xc], 0
je 0x44ce42
cmp dword [ebp + 8], 0
jne 0x44ce49
xor al, al
jmp 0x44d0c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409e00
add esp, 4
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x2e
je 0x44ce7f
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
je 0x44ce7f
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
jmp 0x44ce61
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x2e
je 0x44ce91
xor al, al
jmp 0x44d0c9
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x44ceb5
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 8]
je 0x44ceb5
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
jmp 0x44ce97
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x44cec7
xor al, al
jmp 0x44d0c9
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x30
jl 0x44cee6
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
cmp ecx, 0x39
jle 0x44cefb
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x44cefb
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x44ced0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
cmp eax, 0x30
jl 0x44cf3f
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x39
jg 0x44cf3f
cmp dword [ebp - 4], 5
jge 0x44cf3f
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x44cf02
mov edx, dword [ebp + 0xc]
push edx
call fcn.00409e00
add esp, 4
cmp eax, 5
jae 0x44d0c7
push 0x40
call fcn.0043aab0
add esp, 4
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
je 0x44d086
cmp dword [ebp - 0x14], 0xffffffff
je 0x44d086
push 2
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
sub edx, 0x40
mov dword [ebp - 0x2c], edx
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x40
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0x2d], cl
movzx edx, byte [ebp - 0x2d]
and edx, 0xf
mov byte [ebp - 0x2e], dl
mov al, byte [ebp - 0x2e]
mov byte [ebp - 0x25], al
movzx ecx, byte [ebp - 0x2d]
and ecx, 0xf0
sar ecx, 4
add ecx, 0x30
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 5
jge 0x44d086
movzx edx, byte [ebp - 0x1d]
cmp edx, 0x30
jl 0x44d03c
movzx eax, byte [ebp - 0x1d]
cmp eax, 0x39
jg 0x44d03c
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
mov dl, byte [ebp - 0x1d]
mov byte [ecx], dl
jmp 0x44d044
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x44d086
movzx ecx, byte [ebp - 0x25]
mov edx, dword [ebp - 0x18]
mov al, byte [edx + ecx]
mov byte [ebp - 0x2d], al
movzx ecx, byte [ebp - 0x2d]
and ecx, 0xf
mov byte [ebp - 0x2e], cl
movzx edx, byte [ebp - 0x2d]
and edx, 0xf0
sar edx, 4
add edx, 0x30
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
movzx ecx, byte [ebp - 0x2e]
movzx edx, byte [ebp - 0x25]
add edx, ecx
mov byte [ebp - 0x25], dl
jmp 0x44d017
mov eax, dword [ebp - 0x18]
push eax
call fcn.0043aa90
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00409e00
add esp, 4
cmp eax, 5
je 0x44d0c7
push 6
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00409d80
add esp, 0xc
push 5
push 0x30
mov eax, dword [ebp + 0xc]
push eax
call fcn.00409d80
add esp, 0xc
xor al, al
jmp 0x44d0c9
mov al, 1
mov esp, ebp
pop ebp
ret