Function at 0x1000bc00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.10019150
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x1000bcd1
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
add eax, 0xf
push eax
call fcn.10019329
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000bcd1
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
add eax, 0xf
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 8
lea edx, [ebp - 0x10]
push edx
push 0x90068
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000bcc5
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0x454c4946
jne 0x1000bcbe
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0xc
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10019480
add esp, 0xc
jmp 0x1000bcc5
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100193ec
add esp, 4
cmp dword [ebp - 4], 0
jne 0x1000c049
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x4c], 0
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
jne 0x1000bd92
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
cmp edx, 0x41
jl 0x1000bd57
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
cmp ecx, 0x5a
jg 0x1000bd57
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
sub eax, 0x41
mov dword [ebp - 0x5c], eax
jmp 0x1000bd64
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
sub edx, 0x61
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
shl eax, 9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
push ecx
push edx
mov edx, dword [eax + 0x1003aff4]
push edx
mov eax, dword [eax + 0x1003aff0]
push eax
call fcn.1001a1e0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
jmp 0x1000bf8a
push 0
push 0
push 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1000c160
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
cmp edx, 0x41
jl 0x1000bdd8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
cmp ecx, 0x5a
jg 0x1000bdd8
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
sub eax, 0x41
mov dword [ebp - 0x60], eax
jmp 0x1000bde5
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
sub edx, 0x61
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1001a1e0
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x60]
shl edx, 9
movzx eax, word [edx + 0x1003afcb]
cdq
push edx
push eax
push esi
push ecx
call fcn.1001a250
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
cmp ecx, 0x41
jl 0x1000be44
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
cmp eax, 0x5a
jg 0x1000be44
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
sub edx, 0x41
mov dword [ebp - 0x64], edx
jmp 0x1000be51
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
sub ecx, 0x61
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
shl edx, 9
movzx eax, byte [edx + 0x1003afcd]
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.1001a250
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push 0
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1000c820
add esp, 0x18
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
cmp ecx, 0x41
jl 0x1000beb7
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
cmp eax, 0x5a
jg 0x1000beb7
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
sub edx, 0x41
mov dword [ebp - 0x68], edx
jmp 0x1000bec4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
sub ecx, 0x61
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x68]
shl edx, 9
movzx ecx, byte [edx + 0x1003afcd]
xor edx, edx
div ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
cmp eax, 0x41
jl 0x1000bf02
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
cmp edx, 0x5a
jg 0x1000bf02
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
sub ecx, 0x41
mov dword [ebp - 0x6c], ecx
jmp 0x1000bf0f
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
sub eax, 0x61
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
cmp edx, 0x41
jl 0x1000bf36
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
cmp ecx, 0x5a
jg 0x1000bf36
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
sub eax, 0x41
mov dword [ebp - 0x70], eax
jmp 0x1000bf43
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
sub edx, 0x61
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x6c]
shl eax, 9
movzx eax, byte [eax + 0x1003afcd]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.1001a1e0
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x18]
xor eax, eax
add ecx, edx
adc esi, eax
mov edx, dword [ebp - 0x70]
shl edx, 9
movzx eax, word [edx + 0x1003afcb]
cdq
push edx
push eax
push esi
push ecx
call fcn.1001a1e0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000bfc2
xor eax, eax
jmp 0x1000c04c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x20]
je 0x1000bfd1
xor eax, eax
jmp 0x1000c04c
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0x454c4946
je 0x1000bfe0
xor eax, eax
jmp 0x1000c04c
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
cmp ecx, 0x41
jl 0x1000c007
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
cmp eax, 0x5a
jg 0x1000c007
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
sub edx, 0x41
mov dword [ebp - 0x74], edx
jmp 0x1000c014
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
sub ecx, 0x61
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 6]
push eax
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 4]
push edx
mov eax, dword [ebp - 0x74]
shl eax, 9
movzx ecx, word [eax + 0x1003afcb]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1000c0c0
add esp, 0x10
test eax, eax
je 0x1000c049
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret