Function at 0x1002c6d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008adea
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x58], esi
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x64], edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x48], 0
jbe 0x1002c783
mov eax, dword [esi]
push 0x10097d04
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10071ec6
add esp, 0xc
test eax, eax
jne 0x1002c85e
push dword [ebp - 0x48]
call fcn.100742f9
add esp, 4
push eax
call fcn.1007445e
add esp, 4
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.100062f0
push dword [ebp - 0x48]
xor esi, esi
call fcn.1007410a
add esp, 4
test eax, eax
jne 0x1002c80c
mov edi, dword [ebp - 0x60]
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x2c]
mov eax, edi
sub eax, esi
push eax
push 1
lea eax, [ecx + esi]
push eax
call fcn.10072246
add esp, 0x10
test eax, eax
je 0x1002c809
push dword [ebp - 0x48]
add esi, eax
call fcn.1007410a
add esp, 4
test eax, eax
je 0x1002c7d3
mov edi, dword [ebp - 0x64]
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.100062f0
push dword [ebp - 0x48]
call fcn.10074136
add esp, 4
push dword [ebp - 0x48]
test eax, eax
je 0x1002c853
call fcn.10074249
add esp, 4
push dword [ebp - 0x48]
call fcn.1007203d
add esp, 4
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov byte [eax], 0
jmp 0x1002c85b
call fcn.1007203d
add esp, 4
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002c8e2
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
push eax
cmova edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
call fcn.10005880
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jne 0x1002c938
test ecx, ecx
je 0x1002c8e2
mov edx, dword [ebp - 0x4c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002c8c3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cad5
push edx
push ecx
call fcn.100635d4
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002c916
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c90c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cad5
push ecx
push edx
call fcn.100635d4
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063277
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push ecx
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.100063e0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
lea eax, [esi + 0x18]
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.10005d90
test al, al
jne 0x1002c9dd
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x1002c97e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1002c9c3
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c9b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cad5
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
jmp 0x1002c89c
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x1002c9f7
cmp dword [ebp - 0x30], 0xf
mov ecx, edi
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.10002e20
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x1002ca07
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1002ca4c
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ca42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cad5
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test ecx, ecx
je 0x1002caa3
mov edx, dword [ebp - 0x4c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002ca84
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cad5
push edx
push ecx
call fcn.100635d4
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002c916
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c90c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002c90c
call fcn.1006dc9f
int3