Function at 0x9e5570
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0xb0df7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4dc
push ebx
push ebp
push esi
xor ebx, ebx
mov eax, 0xf
push edi
mov esi, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x4f4], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
push ebx
push 0xb4d68c
lea ecx, [esp + 0x88]
mov byte [esp + 0x4fc], 3
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.009b5de0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esi + 0x48]
mov byte [esp + 0x4fc], 4
call fcn.009e5430
mov ecx, eax
call fcn.009e4290
mov edi, 0x10
mov byte [esp + 0x4f4], 3
cmp dword [esp + 0x94], edi
jb 0x9e5648
mov edx, dword [esp + 0x80]
push edx
call fcn.009ee38e
add esp, 4
mov eax, dword [esp + 0x4fc]
cmp dword [eax + 0x14], edi
jb 0x9e5656
mov eax, dword [eax]
push 0xb205a0
push eax
call fcn.00aef9d8
add esp, 8
mov dword [esi + 0x58], eax
cmp eax, ebx
jne 0x9e56c8
cmp dword [esp + 0x48], edi
jb 0x9e567e
mov eax, dword [esp + 0x34]
push eax
call fcn.009ee38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x9e56a2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.009ee38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x9e56c1
mov edx, dword [esp + 0x50]
push edx
call fcn.009ee38e
add esp, 4
xor al, al
jmp 0x9e5b80
push 2
push 0xffffffffffffffea
push eax
call fcn.00aef8a0
add esp, 0xc
test eax, eax
je 0x9e573d
mov ecx, esi
call fcn.009e51a0
cmp dword [esp + 0x48], edi
jb 0x9e56f3
mov eax, dword [esp + 0x34]
push eax
call fcn.009ee38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x9e5717
mov ecx, dword [esp + 0x18]
push ecx
call fcn.009ee38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x9e56c1
mov edx, dword [esp + 0x50]
push edx
call fcn.009ee38e
add esp, 4
xor al, al
jmp 0x9e5b80
mov eax, dword [esi + 0x58]
push eax
push 1
lea ecx, [esp + 0xac]
push 0x16
push ecx
call fcn.00aef600
add esp, 0x10
cmp eax, 1
je 0x9e57cb
mov ecx, esi
call fcn.009e51a0
lea ecx, [esp + 0x6c]
call fcn.009be570
cmp dword [esp + 0x48], edi
jb 0x9e577d
mov edx, dword [esp + 0x34]
push edx
call fcn.009ee38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x9e57a1
mov eax, dword [esp + 0x18]
push eax
call fcn.009ee38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x9e56c1
mov ecx, dword [esp + 0x50]
push ecx
call fcn.009ee38e
add esp, 4
xor al, al
jmp 0x9e5b80
cmp dword [esp + 0xa4], 0x6054b50
je 0x9e580a
mov ecx, esi
call fcn.009e51a0
lea ecx, [esp + 0x6c]
call fcn.009be570
lea ecx, [esp + 0x34]
call fcn.009e8270
lea ecx, [esp + 0x18]
call fcn.009e8270
lea ecx, [esp + 0x50]
call fcn.009e8270
xor al, al
jmp 0x9e5b80
mov edx, dword [esp + 0xb4]
mov eax, dword [esi + 0x58]
push ebx
push edx
push eax
call fcn.00aef8a0
add esp, 0xc
test eax, eax
jne 0x9e57d8
xor ecx, ecx
mov dword [esp + 0x7c], ebx
cmp cx, word [esp + 0xae]
jae 0x9e5b1f
mov edx, dword [esi + 0x58]
push edx
push 1
lea eax, [esp + 0xc4]
push 0x2e
push eax
call fcn.00aef600
add esp, 0x10
cmp eax, 1
jne 0x9e5b9b
cmp dword [esp + 0xbc], 0x2014b50
jne 0x9e57d8
mov ax, word [esp + 0xd8]
mov ecx, 0x400
cmp ax, cx
ja 0x9e57d8
mov edx, ecx
cmp word [esp + 0xda], dx
ja 0x9e57d8
cmp word [esp + 0xdc], cx
ja 0x9e57d8
mov edx, dword [esi + 0x58]
push edx
movzx eax, ax
push 1
push eax
lea ecx, [esp + 0xf8]
push ecx
call fcn.00aef600
movzx edx, word [esp + 0xe8]
add esp, 0x10
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x58]
call fcn.009b5de0
cmp dword [esp + 0x64], edi
mov edi, dword [esp + 0x50]
mov byte [esp + 0x17], 0x2f
mov byte [esp + 0x10], 0x5c
jae 0x9e58e9
lea edi, [esp + 0x50]
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x54]
call fcn.009d1b90
lea edx, [esp + 0x17]
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.009d1b60
mov eax, dword [esi + 0x58]
movzx ecx, word [esp + 0xea]
push eax
push 1
push ecx
lea edx, [esp + 0x108]
push edx
call fcn.00aef600
mov eax, dword [esi + 0x58]
movzx ecx, word [esp + 0xfc]
push eax
push 1
push ecx
lea edx, [esp + 0x118]
push edx
call fcn.00aef600
mov edi, dword [esp + 0x90]
add esp, 0x30
dec edi
push edi
lea ecx, [esp + 0x54]
call fcn.009c7f50
cmp byte [eax], 0x2f
jne 0x9e59b1
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x58]
call fcn.009b5ee0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.009e32f0
add esp, 8
lea edx, [esp + 0x6c]
push edx
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x4fc], 5
call fcn.009e5430
mov ecx, eax
call fcn.009e4290
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.009e8270
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.009e32f0
add esp, 8
push eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x4f8], 6
call fcn.009e4430
mov edx, dword [esp + 0xe6]
lea ecx, [esp + 0x80]
mov dword [eax], edx
mov byte [esp + 0x4f4], 3
call fcn.009e8270
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1c], 0x2f
call fcn.009cf3a0
mov edi, eax
cmp edi, 0xffffffff
jne 0x9e5a32
push 0xb4d68c
lea ecx, [esp + 0x1c]
call fcn.009b86c0
push edi
push ebx
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x40]
call fcn.009b5be0
jmp 0x9e5aa6
push edi
push ebx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x5c]
call fcn.009d0400
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4f8], 7
call fcn.009b7150
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.009e8270
push 0xffffffffffffffff
inc edi
push edi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x5c]
call fcn.009d0400
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4f8], 8
call fcn.009b7150
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.009e8270
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.009e32f0
add esp, 8
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x4fc], 9
call fcn.009e3250
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.009e8270
mov eax, dword [esp + 0x9c]
cmp eax, dword [esi + 0x4c]
je 0x9e5b01
lea ecx, [esp + 0x34]
push ecx
lea ecx, [eax + 0x28]
call fcn.009be420
mov eax, dword [esp + 0x7c]
movzx edx, word [esp + 0xae]
inc eax
mov dword [esp + 0x7c], eax
mov edi, 0x10
cmp eax, edx
jb 0x9e5837
lea ecx, [esp + 0x6c]
call fcn.009be570
cmp dword [esp + 0x48], edi
jb 0x9e5b3b
mov eax, dword [esp + 0x34]
push eax
call fcn.009ee38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x9e5b5f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.009ee38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x9e5b7e
mov edx, dword [esp + 0x50]
push edx
call fcn.009ee38e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e8
ret 4
mov ecx, esi
call fcn.009e51a0
lea ecx, [esp + 0x6c]
call fcn.009be570
cmp dword [esp + 0x48], edi
jb 0x9e5bbe
mov eax, dword [esp + 0x34]
push eax
call fcn.009ee38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x9e5be2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.009ee38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x9e56c1
mov edx, dword [esp + 0x50]
push edx
call fcn.009ee38e
add esp, 4
xor al, al
jmp 0x9e5b80