Function at 0x1002c700
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 0x1008dd6a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100ab080]
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 0x1002c7b3
mov eax, dword [esi]
push 0x1009ad2c
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10074e36
add esp, 0xc
test eax, eax
jne 0x1002c88e
push dword [ebp - 0x48]
call fcn.10077269
add esp, 4
push eax
call fcn.100773ce
add esp, 4
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.10006380
push dword [ebp - 0x48]
xor esi, esi
call fcn.1007707a
add esp, 4
test eax, eax
jne 0x1002c83c
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.100751b6
add esp, 0x10
test eax, eax
je 0x1002c839
push dword [ebp - 0x48]
add esi, eax
call fcn.1007707a
add esp, 4
test eax, eax
je 0x1002c803
mov edi, dword [ebp - 0x64]
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.10006380
push dword [ebp - 0x48]
call fcn.100770a6
add esp, 4
push dword [ebp - 0x48]
test eax, eax
je 0x1002c883
call fcn.100771b9
add esp, 4
push dword [ebp - 0x48]
call fcn.10074fad
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 0x1002c88b
call fcn.10074fad
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 0x1002c912
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
push eax
cmova edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
call fcn.10005910
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jne 0x1002c968
test ecx, ecx
je 0x1002c912
mov edx, dword [ebp - 0x4c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002c8f3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cb05
push edx
push ecx
call fcn.100666c9
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 0x1002c946
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c93c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cb05
push ecx
push edx
call fcn.100666c9
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.1006636c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push ecx
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.10006470
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.10005e20
test al, al
jne 0x1002ca0d
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x1002c9ae
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 0x1002c9f3
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c9e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cb05
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
jmp 0x1002c8cc
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x1002ca27
cmp dword [ebp - 0x30], 0xf
mov ecx, edi
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.10002eb0
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x1002ca37
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 0x1002ca7c
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ca72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cb05
push ecx
push edx
call fcn.100666c9
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 0x1002cad3
mov edx, dword [ebp - 0x4c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002cab4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cb05
push edx
push ecx
call fcn.100666c9
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 0x1002c946
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c93c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002c93c
call fcn.10070c0f
int3