Function at 0x10096a08
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x101215a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x224], ebx
mov dword [eax], ebx
cmp edi, ebx
jne 0x10096a5d
xor eax, eax
jmp 0x10096f32
call fcn.100969bf
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x10096a73
push 0x1b
jmp 0x10096f31
cmp esi, ebx
jne 0x10096a7c
mov esi, 0x1011d458
push eax
push esi
push 0x1011d47c
xor ebx, ebx
lea esi, [ebp - 0x208]
call fcn.100966b7
add esp, 0xc
test eax, eax
je 0x10096aad
mov esi, eax
push dword [ebp - 0x220]
call dword [0x1011d2c0]
pop ecx
mov eax, esi
jmp 0x10096f32
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
or eax, dword [ebp - 0x210]
je 0x10096ae8
push 0x1011d490
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
test esi, esi
jne 0x10096efa
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push 0x1011d494
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10096efa
push 0x1011d49c
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
test esi, esi
jne 0x10096efa
push dword [edi + 4]
mov ecx, dword [edi + 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.100965c9
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10096efa
push 0x1011d4c4
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
test esi, esi
jne 0x10096efa
cmp dword [edi + 0x24], eax
je 0x10096b93
call fcn.100969bf
push eax
push 0x1011d4c8
lea esi, [ebp - 0x208]
mov dword [ebp - 0x224], eax
call fcn.100966b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10096efa
mov ebx, edi
mov dword [ebp - 0x21c], ebx
jmp 0x10096ba3
mov ebx, dword [ebp - 0x21c]
xor eax, eax
cmp dword [edi + 0x24], eax
je 0x10096bfb
mov dword [ebp - 0x20c], eax
cmp dword [ebx + 0x2c], eax
jne 0x10096bcc
push dword [ebx + 0xc]
call fcn.100967ec
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x10096ee5
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x10096bd9
mov ebx, dword [ebp - 0x20c]
push ebx
push dword [ebp - 0x224]
lea ebx, [ebp - 0x214]
push 0x1011d4f8
lea esi, [ebp - 0x208]
call fcn.100966b7
add esp, 0xc
jmp 0x10096c3b
test byte [edi + 0x28], 0x51
je 0x10096c61
cmp dword [edi + 0x2c], eax
jne 0x10096c0f
push dword [edi + 0xc]
call fcn.100967ec
pop ecx
mov dword [ebp - 0x20c], eax
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x10096c22
mov eax, dword [ebp - 0x20c]
push eax
push 0x1011d530
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100966b7
pop ecx
pop ecx
cmp dword [ebp - 0x20c], 0
mov esi, eax
je 0x10096c53
push dword [ebp - 0x20c]
call dword [0x1011d2c0]
pop ecx
test esi, esi
jne 0x10096efa
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x10096c91
push eax
push 0x1011d540
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10096efa
mov ebx, dword [ebp - 0x21c]
mov ebx, dword [ebx + 0x20]
mov dword [ebp - 0x20c], ebx
test ebx, ebx
je 0x10096cdd
jmp 0x10096ca6
mov ebx, dword [ebp - 0x20c]
push dword [ebx]
lea ebx, [ebp - 0x214]
push 0x1011d554
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10096efa
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20c], eax
test eax, eax
jne 0x10096ca0
test esi, esi
jne 0x10096efa
push 0x1011d55c
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
test esi, esi
jne 0x10096efa
mov eax, dword [edi + 0x28]
test al, 3
jne 0x10096d46
test al, 0x10
je 0x10096d2d
push dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.100965c9
add esp, 0xc
jmp 0x10096db7
mov ecx, dword [edi + 0x10]
test al, 0x40
lea eax, [ebp - 0x208]
je 0x10096d41
push dword [edi + 0x30]
push 2
jmp 0x10096d1f
push dword [edi + 0xc]
jmp 0x10096d1d
mov ebx, dword [ebp - 0x21c]
push dword [ebx + 0xc]
push 0x1011d564
call fcn.100a3f76
pop ecx
pop ecx
test eax, eax
je 0x10096d66
call fcn.100b09a8
jmp 0x10096d75
push 0x1011d568
push dword [ebx + 0xc]
call fcn.100b0891
pop ecx
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x10096f0c
call fcn.100b09a8
push dword [ebp - 0x20c]
cmp dword [ebp - 0x20c], eax
je 0x10096dbb
call fcn.100b04fa
push dword [ebx + 0xc]
lea eax, [ebp - 0x208]
push 3
push eax
lea ebx, [ebp - 0x214]
xor ecx, ecx
call fcn.100965c9
add esp, 0x10
mov esi, eax
jmp 0x10096e1f
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.100b07b8
add esp, 0x10
test eax, eax
je 0x10096e27
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x208]
push 1
push ecx
lea ebx, [ebp - 0x214]
mov ecx, eax
call fcn.100965c9
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10096efa
push dword [ebp - 0x20c]
lea eax, [ebp - 0x204]
push 0x200
push 1
push eax
call fcn.100b07b8
add esp, 0x10
test eax, eax
jne 0x10096dd5
test esi, esi
jne 0x10096efa
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x10096b9d
test esi, esi
jne 0x10096efa
cmp dword [edi + 0x24], esi
je 0x10096e7c
push dword [ebp - 0x224]
lea ebx, [ebp - 0x214]
push 0x1011d56c
lea esi, [ebp - 0x208]
call fcn.100966b7
push dword [ebp - 0x224]
mov esi, eax
call dword [0x1011d2c0]
add esp, 0xc
test esi, esi
jne 0x10096efa
mov edi, dword [edi]
test edi, edi
jne 0x10096ab9
test esi, esi
jne 0x10096efa
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push 0x1011d578
lea esi, [ebp - 0x208]
call fcn.100966b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10096efa
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x220]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x210]
mov dword [eax + 4], ecx
call dword [0x1011d2c0]
mov eax, dword [ebp - 0x218]
pop ecx
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
jmp 0x10096a56
lea eax, [ebp - 0x218]
push eax
call fcn.10096706
pop ecx
push 0x1b
pop esi
jmp 0x10096a99
lea eax, [ebp - 0x218]
push eax
call fcn.10096706
pop ecx
jmp 0x10096a99
lea eax, [ebp - 0x218]
push eax
call fcn.10096706
push dword [ebp - 0x220]
call dword [0x1011d2c0]
mov eax, dword [ebp - 0x228]
and dword [eax], 0
pop ecx
pop ecx
push 0x1a
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ad0a1
leave
ret