Function at 0x10002a50
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 0x101364dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x101a6ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], edx
mov edi, ecx
push 0x101a1cfc
push edi
call fcn.1011570d
add esp, 8
mov dword [ebp - 0xac], eax
test eax, eax
je 0x10002b53
push eax
push 0x40
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.1011b75a
mov esi, dword [ebx + 8]
xor ecx, ecx
sub eax, esi
mov dword [ebp - 0x5c], ecx
inc eax
add esp, 0x10
mov dword [ebp - 0xa4], eax
test eax, eax
jle 0x10002b45
nop dword [eax + eax]
lea edx, [ebp - 0x58]
add ecx, edx
mov edx, dword [ebp - 0xa8]
sub esi, 4
jb 0x10002b01
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10002b06
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10002af0
cmp esi, 0xfffffffc
je 0x10002b73
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10002b33
cmp esi, 0xfffffffd
je 0x10002b73
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10002b33
cmp esi, 0xfffffffe
je 0x10002b73
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10002b33
cmp esi, 0xffffffff
je 0x10002b73
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10002b73
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebx + 8]
inc ecx
mov dword [ebp - 0x5c], ecx
cmp ecx, dword [ebp - 0xa4]
jl 0x10002ae0
push dword [ebp - 0xac]
call fcn.10115bac
add esp, 4
xor al, al
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.1010cf1c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
cmp eax, 1
jne 0x10002ba2
mov eax, dword [0x101c49a8]
mov ecx, eax
shl ecx, 0xa
inc eax
add ecx, 0x101ab9a8
mov dword [0x101c49a8], eax
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x10002b93
jmp 0x10002b45
cmp eax, 2
jne 0x10002b45
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea esi, [ebp - 0xa0]
movq qword [ebp - 0x68], xmm0
lea edi, [ebp - 0x80]
mov dword [ebp - 0xa0], 0x86204c31
mov dword [ebp - 0x9c], 0xe1740515
mov dword [ebp - 0x98], 0x1b1df15c
mov dword [ebp - 0x94], 0x1a2571c1
mov dword [ebp - 0x90], 0x6c0847
mov dword [ebp - 0x8c], 0xcd559326
mov dword [ebp - 0x88], 0x423ac951
mov dword [ebp - 0x84], 0x9402143c
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
sub edi, esi
je 0x10002c45
push edi
lea ecx, [ebp - 0x68]
call fcn.10006910
push edi
push esi
mov esi, dword [ebp - 0x68]
push esi
call fcn.1010ea50
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push eax
lea ecx, [ebp - 0x80]
movq qword [ebp - 0x80], xmm0
call fcn.10002510
add esp, 4
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
sub esi, edi
mov dword [ebp - 0xa4], esi
cmp esi, 0xd0f
jb 0x10002d3e
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movq qword [ebp - 0x74], xmm0
lea ecx, [ebp - 0x74]
push esi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.10006910
push esi
mov esi, dword [ebp - 0x74]
push 0
push esi
call fcn.1010efd0
mov ecx, dword [ebp - 0xa4]
add esp, 0xc
lea eax, [esi + ecx]
mov dword [ebp - 0x70], eax
push ecx
push edi
push esi
mov byte [ebp - 4], 2
call fcn.1010ea50
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
push 0x20
push 0xd0f
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10002d11
lea eax, [esi + 0xd0f]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
push 0xd0f
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
je 0x10002d3e
mov ecx, dword [ebp - 0x6c]
sub ecx, esi
cmp ecx, 0x1000
jb 0x10002d34
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x10002da2
mov esi, edx
push ecx
push esi
call fcn.1010d279
add esp, 8
test edi, edi
je 0x10002d6b
mov ecx, dword [ebp - 0x78]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x10002d61
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002da2
push ecx
push edi
call fcn.1010d279
add esp, 8
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x10002d9b
mov edx, dword [ebp - 0x60]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10002d91
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002da2
push edx
push ecx
call fcn.1010d279
add esp, 8
mov al, 1
jmp 0x10002b55
call fcn.1011db89
int3