Function at 0x1003bcc0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x240]
sub esp, 0x240
push 0xfffffffffffffffe
push 0x1016d910
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x23c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp], bl
push 0x103
push ebx
lea eax, [ebp + 1]
push eax
call fcn.10116880
push 0x10148b5c
push esi
call fcn.1010ebfe
add esp, 0x14
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x1003bf25
mov byte [ebp + 0x1fc], bl
push 0x3f
push ebx
lea ecx, [ebp + 0x1fd]
push ecx
call fcn.10116880
mov byte [ebp + 0x104], bl
push 0xf7
push ebx
lea edx, [ebp + 0x105]
push edx
call fcn.10116880
push edi
push 0x40
push 1
lea eax, [ebp + 0x1fc]
push eax
call fcn.1010eeb5
add esp, 0x28
cmp eax, 0x40
je 0x1003bd9f
push edi
call fcn.1010f263
add esp, 4
mov dword [ebp - 0x1c], ebx
jmp 0x1003bf25
push ebx
mov ecx, dword [ebp + 0x238]
push ecx
push edi
call fcn.1010f167
push edi
push 0xf8
push 1
lea edx, [ebp + 0x104]
push edx
call fcn.1010eeb5
add esp, 0x1c
cmp eax, 0xf8
jne 0x1003bd8e
mov eax, dword [ebp + 0x108]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0x10c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0x110]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x114]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x118]
mov dword [ebp - 0x30], ecx
xor ecx, ecx
xor eax, eax
mov esi, 0xf0
mov dx, word [ebp + 0x118]
cmp si, dx
jne 0x1003be15
lea ecx, [ebp + 0x11c]
jmp 0x1003be1b
lea eax, [ebp + 0x11c]
cmp si, dx
jne 0x1003be28
lea eax, [ecx + 0x90]
jmp 0x1003be2b
sub eax, 0xffffff80
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x1003bec9
push ebx
call fcn.1004e860
add esp, 4
mov esi, eax
test esi, esi
je 0x1003bec9
push 0
mov eax, dword [ebp - 0x24]
push eax
push edi
call fcn.1010f167
add esp, 0xc
test eax, eax
jne 0x1003bec0
push edi
push ebx
push 1
push esi
call fcn.1010eeb5
add esp, 0x10
cmp eax, 0x31
jle 0x1003bec0
mov al, 6
cmp byte [esi + 0xc], al
jne 0x1003be94
cmp byte [esi + 0xd], 9
jne 0x1003be94
cmp byte [esi + 0xe], 0x2a
jne 0x1003be94
cmp byte [esi + 0xf], 0x86
jne 0x1003be94
cmp byte [esi + 9], 0x82
jne 0x1003be94
cmp byte [esi + 8], 0x30
je 0x1003beb7
cmp byte [esi + 0xd], al
jne 0x1003bec0
cmp byte [esi + 0xe], 9
jne 0x1003bec0
cmp byte [esi + 0xf], 0x2a
jne 0x1003bec0
cmp byte [esi + 0x10], 0x86
jne 0x1003bec0
cmp byte [esi + 9], 0x83
jne 0x1003bec0
cmp byte [esi + 8], 0x30
jne 0x1003bec0
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
push esi
call fcn.1010dc10
add esp, 4
push edi
call fcn.1010f263
add esp, 4
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 0
je 0x1003bf25
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1003bf2e
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x23c]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x240
mov esp, ebp
pop ebp
ret