Function at 0x1000b990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x1000b9aa
xor eax, eax
jmp 0x1000bbf9
movzx eax, word [ebp + 0xc]
cmp eax, 0x41
jl 0x1000b9c8
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x5a
jg 0x1000b9c8
movzx edx, word [ebp + 0xc]
sub edx, 0x41
mov dword [ebp - 8], edx
jmp 0x1000b9d2
movzx eax, word [ebp + 0xc]
sub eax, 0x61
mov dword [ebp - 8], eax
push 4
push 0x10034ea4
mov ecx, dword [ebp - 8]
shl ecx, 9
add ecx, 0x1003afc3
push ecx
call fcn.1001a2b8
add esp, 0xc
test eax, eax
je 0x1000bab7
movzx edx, word [ebp + 0xc]
cmp edx, 0x41
jl 0x1000ba14
movzx eax, word [ebp + 0xc]
cmp eax, 0x5a
jg 0x1000ba14
movzx ecx, word [ebp + 0xc]
sub ecx, 0x41
mov dword [ebp - 0xc], ecx
jmp 0x1000ba1e
movzx edx, word [ebp + 0xc]
sub edx, 0x61
mov dword [ebp - 0xc], edx
push 0
lea eax, [ebp - 4]
push eax
push 0x200
mov ecx, dword [ebp - 0xc]
shl ecx, 9
add ecx, 0x1003afc0
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jle 0x1000bab0
cmp dword [ebp - 4], 0x200
je 0x1000ba56
xor eax, eax
jmp 0x1000bbf9
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x41
jl 0x1000ba74
movzx edx, word [ebp + 0xc]
cmp edx, 0x5a
jg 0x1000ba74
movzx eax, word [ebp + 0xc]
sub eax, 0x41
mov dword [ebp - 0x10], eax
jmp 0x1000ba7e
movzx ecx, word [ebp + 0xc]
sub ecx, 0x61
mov dword [ebp - 0x10], ecx
push 4
push str.NTFS
mov edx, dword [ebp - 0x10]
shl edx, 9
add edx, 0x1003afc3
push edx
call fcn.1001a2b8
add esp, 0xc
test eax, eax
je 0x1000baa7
xor eax, eax
jmp 0x1000bbf9
mov eax, dword [ebp + 8]
mov byte [eax + 0x1a], 3
jmp 0x1000bab7
xor eax, eax
jmp 0x1000bbf9
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x41
jl 0x1000bad5
movzx edx, word [ebp + 0xc]
cmp edx, 0x5a
jg 0x1000bad5
movzx eax, word [ebp + 0xc]
sub eax, 0x41
mov dword [ebp - 0x14], eax
jmp 0x1000badf
movzx ecx, word [ebp + 0xc]
sub ecx, 0x61
mov dword [ebp - 0x14], ecx
movzx edx, word [ebp + 0xc]
cmp edx, 0x41
jl 0x1000bafd
movzx eax, word [ebp + 0xc]
cmp eax, 0x5a
jg 0x1000bafd
movzx ecx, word [ebp + 0xc]
sub ecx, 0x41
mov dword [ebp - 0x18], ecx
jmp 0x1000bb07
movzx edx, word [ebp + 0xc]
sub edx, 0x61
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
shl eax, 9
movzx ecx, byte [eax + 0x1003afcd]
mov edx, dword [ebp - 0x18]
shl edx, 9
movzx eax, word [edx + 0x1003afcb]
imul ecx, eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], ecx
movzx eax, word [ebp + 0xc]
cmp eax, 0x41
jl 0x1000bb48
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x5a
jg 0x1000bb48
movzx edx, word [ebp + 0xc]
sub edx, 0x41
mov dword [ebp - 0x1c], edx
jmp 0x1000bb52
movzx eax, word [ebp + 0xc]
sub eax, 0x61
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 9
movzx edx, byte [ecx + 0x1003b000]
cmp edx, 0x80
jle 0x1000bbb2
movzx eax, word [ebp + 0xc]
cmp eax, 0x41
jl 0x1000bb85
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x5a
jg 0x1000bb85
movzx edx, word [ebp + 0xc]
sub edx, 0x41
mov dword [ebp - 0x20], edx
jmp 0x1000bb8f
movzx eax, word [ebp + 0xc]
sub eax, 0x61
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
shl ecx, 9
movzx edx, byte [ecx + 0x1003b000]
mov ecx, 0x100
sub ecx, edx
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
jmp 0x1000bbf4
movzx edx, word [ebp + 0xc]
cmp edx, 0x41
jl 0x1000bbd0
movzx eax, word [ebp + 0xc]
cmp eax, 0x5a
jg 0x1000bbd0
movzx ecx, word [ebp + 0xc]
sub ecx, 0x41
mov dword [ebp - 0x24], ecx
jmp 0x1000bbda
movzx edx, word [ebp + 0xc]
sub edx, 0x61
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
shl eax, 9
movzx ecx, byte [eax + 0x1003b000]
mov edx, dword [ebp + 8]
imul ecx, dword [edx + 0x1c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret