Function at 0x1001f7a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d4a41
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x102632d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [ebp - 0xd4], esi
call fcn.10020de0
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov ecx, ebx
mov byte [esi], 0
cmp dword [ebx + 0x14], 8
jb 0x1001f7fd
mov ecx, dword [ebx]
push ecx
push 0x80
push 3
push ecx
push 0
mov edx, SysReAllocStringLen
call fcn.10015230
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x1001f96e
test esi, esi
je 0x1001f96e
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x30]
movlpd qword [ebp - 0xd0], xmm0
push eax
lea eax, [ebp - 0xd0]
movlpd qword [ebp - 0x30], xmm0
push eax
push ebx
movlpd qword [ebp - 0xdc], xmm0
call fcn.10020090
test al, al
je 0x1001f90f
mov ebx, dword [ebp - 0xd0]
mov ecx, ebx
mov eax, dword [ebp - 0xcc]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x1001f90f
jb 0x1001f8b3
cmp ecx, 0x4ffffe
ja 0x1001f90f
lea eax, [ebp - 0xb9]
mov byte [ebp - 0xb9], 0
push eax
lea ecx, [ebp - 0x1c]
push ecx
push ebx
call fcn.10017ed0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push ebx
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp ecx, dword [ebp - 0xcc]
ja 0x1001f90f
jb 0x1001f8f6
cmp eax, ebx
jae 0x1001f90f
mov byte [ebp - 0xb9], cl
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0xb9]
push ecx
push edx
push eax
mov ecx, edx
call fcn.10017ed0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x1001f98e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1001f96e
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1001f94f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fef9
push edx
push ecx
call fcn.101912ef
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101912fd
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.100c46b0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push edx
push ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.100c1920
test al, al
jne 0x1001fa5e
mov eax, dword [ebp - 0xd4]
mov byte [eax], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
je 0x1001f91e
mov edx, dword [ebp - 0xc0]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1001fa31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fefe
push edx
push ecx
call fcn.101912ef
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
jmp 0x1001f91e
mov eax, dword [ebp - 0xc4]
xor edx, edx
mov esi, dword [ebp - 0xc8]
mov ecx, 0x3e8
sub eax, esi
div ecx
mov ebx, eax
mov dword [ebp - 0xcc], ebx
test edx, edx
je 0x1001fac3
mov eax, dword [ebp - 0xd4]
mov byte [eax], 1
mov byte [ebp - 4], 0
test esi, esi
je 0x1001f91e
mov ecx, dword [ebp - 0xc0]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1001fabc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fef9
push ecx
push esi
jmp 0x1001fa33
test ebx, ebx
jne 0x1001fb78
mov byte [ebp - 4], 0
test esi, esi
je 0x1001fb21
mov ecx, dword [ebp - 0xc0]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1001faf9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fef9
push ecx
push esi
call fcn.101912ef
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1001fb71
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1001fb52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fef9
push edx
push ecx
call fcn.101912ef
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, 1
jmp 0x1001f970
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
push ebx
mov ecx, eax
call fcn.100208a0
imul eax, ebx, 0x3e8
push eax
push esi
push dword [ebp - 0x28]
call fcn.101a8d80
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xd8], eax
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001fc4c
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [ebp - 0xd8]
cmp dword [ebx + eax], 0x23ab45db
jne 0x1001fc78
inc dword [ebp - 0x2c]
xor ecx, ecx
mov word [ebx + eax + 0x282], cx
mov word [ebx + eax + 0x382], cx
mov word [ebx + eax + 0x3ca], cx
add ebx, 0x3e8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov dword [ebp - 0xd8], eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2c], eax
jb 0x1001fbf0
mov ebx, dword [ebp - 0xcc]
mov ecx, dword [edi + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x1001fcf6
cmp ebx, 0x2762762
ja 0x1001ff03
jmp 0x1001fcee
mov eax, dword [ebp - 0xd4]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x1001fa8a
mov ecx, dword [ebp - 0x20]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x1001fcca
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fef9
push ecx
push edi
call fcn.101912ef
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x1001fa8a
push ebx
mov ecx, edi
call fcn.10020590
lea ecx, [ebp - 0x98]
call fcn.1001daa0
mov byte [ebp - 4], 3
xor ecx, ecx
mov ebx, dword [ebp - 0x28]
mov eax, 0x10624dd3
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x24]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001fe60
xor esi, esi
nop dword [eax + eax]
lea edx, [ebx + 4]
add edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xcc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fd40
sub ecx, dword [ebp - 0xcc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.10008910
lea edx, [ebx + 0x284]
add edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xcc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fd73
sub ecx, dword [ebp - 0xcc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.10008910
mov eax, dword [esi + ebx + 0x3cc]
lea edx, [ebx + 0x384]
mov dword [ebp - 0x50], eax
add edx, esi
mov eax, dword [esi + ebx + 0x3d0]
mov ecx, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + ebx + 0x3d4]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + ebx + 0x3d8]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + ebx + 0x3dc]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + ebx + 0x3e0]
mov dword [ebp - 0x3c], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xcc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fde0
sub ecx, dword [ebp - 0xcc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10008910
mov eax, dword [esi + ebx + 0x3e4]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 4]
mov byte [ebp - 0x34], 0
push ecx
cmp dword [edi + 8], eax
je 0x1001fe27
mov ecx, eax
call fcn.1001e520
add dword [edi + 4], 0x68
jmp 0x1001fe2f
push eax
mov ecx, edi
call fcn.10020c20
mov ecx, dword [ebp - 0x24]
mov eax, 0x10624dd3
mov ebx, dword [ebp - 0x28]
add esi, 0x3e8
inc dword [ebp - 0x2c]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2c], eax
jb 0x1001fd30
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd4]
mov byte [eax], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.100088b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.100088b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.100088b0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x1001facb
mov ecx, dword [ebp - 0x20]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x1001fed5
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fef9
push ecx
push edi
call fcn.101912ef
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x1001facb
call fcn.101ad149
call fcn.101ad149
call fcn.1000e0c0
int3