Function at 0x1009cee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x33c0fa5
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x340a6ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.100cb5e0
add esp, 8
mov dword [ebp - 4], 0
movzx edx, byte [ebp - 0xb0]
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x1009cf7e
mov byte [ebp - 0x121], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
movzx ecx, byte [ebp - 0xb0]
test ecx, ecx
je 0x1009cf73
lea ecx, [ebp - 0xb0]
call fcn.1009e4b0
mov ecx, eax
call fcn.1003df20
mov byte [ebp - 0xb0], 0
mov al, byte [ebp - 0x121]
jmp 0x1009d311
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x74]
call fcn.1009e4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.1009ddb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.1009de00
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x170]
call fcn.100c8f30
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x178]
push eax
call fcn.100c9c20
add esp, 4
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.1006cc20
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.1004abb0
mov dword [ebp - 0xe8], 0
push 0x33d748c
lea ecx, [ebp - 0xac]
call fcn.1006f960
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.10137f41
add esp, 0xc
cmp dword [ebp - 0xe8], 0
jne 0x1009d09b
mov byte [ebp - 0x122], 0
mov dword [ebp - 4], 9
mov dword [ebp - 4], 0xffffffff
movzx edx, byte [ebp - 0xb0]
test edx, edx
je 0x1009d090
lea ecx, [ebp - 0xb0]
call fcn.1009e4b0
mov ecx, eax
call fcn.1003df20
mov byte [ebp - 0xb0], 0
mov al, byte [ebp - 0x122]
jmp 0x1009d311
lea eax, [ebp - 0x145]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x114]
call fcn.10068c40
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
push 1
mov edx, dword [ebp - 0x114]
push edx
call fcn.10137e51
add esp, 0x10
mov eax, dword [ebp - 0xe8]
push eax
call fcn.10137b93
add esp, 4
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0xe4]
push eax
call fcn.100c88c0
add esp, 0xc
mov cl, byte [0x33d4fe9]
mov byte [ebp - 0xd4], cl
xor edx, edx
mov dword [ebp - 0xd3], edx
mov dword [ebp - 0xcf], edx
mov dword [ebp - 0xcb], edx
mov dword [ebp - 0xc7], edx
mov dword [ebp - 0xc3], edx
mov dword [ebp - 0xbf], edx
mov dword [ebp - 0xbb], edx
mov dword [ebp - 0xb7], edx
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.100c8900
add esp, 8
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x104]
call fcn.1006ad10
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x120], 0x3414210
jmp 0x1009d1bb
mov eax, dword [ebp - 0x120]
add eax, 0x1c
mov dword [ebp - 0x120], eax
push 0x33d7488
call fcn.101360e0
add esp, 4
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
push ecx
push 0x33d7488
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x120]
call fcn.1006ca40
neg eax
sbb eax, eax
add eax, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
movzx edx, cl
test edx, edx
je 0x1009d2c1
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x160]
push edx
mov ecx, dword [ebp - 0x120]
call fcn.1006f960
push eax
mov eax, dword [ebp - 0xf4]
push eax
push 0
lea ecx, [ebp - 0x104]
call fcn.1006ca40
neg eax
sbb eax, eax
add eax, 1
movzx ecx, al
test ecx, ecx
je 0x1009d2bc
mov byte [ebp - 0x123], 1
mov byte [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0x104]
call fcn.100444a0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x114]
call fcn.10068d60
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xf
mov dword [ebp - 4], 0xffffffff
movzx edx, byte [ebp - 0xb0]
test edx, edx
je 0x1009d2b4
lea ecx, [ebp - 0xb0]
call fcn.1009e4b0
mov ecx, eax
call fcn.1003df20
mov byte [ebp - 0xb0], 0
mov al, byte [ebp - 0x123]
jmp 0x1009d311
jmp 0x1009d1ac
mov byte [ebp - 0x124], 0
mov byte [ebp - 4], 0x10
push 0
push 1
lea ecx, [ebp - 0x104]
call fcn.100444a0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x114]
call fcn.10068d60
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x12
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.1009e300
mov al, byte [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10133eba
mov esp, ebp
pop ebp
ret