Function at 0x10028aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e79c3
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10127008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov ebx, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0xe0], ecx
cmp esi, ebx
je 0x10028b09
nop dword [eax]
mov ecx, esi
call fcn.10026e90
add esi, 0x68
cmp esi, ebx
jne 0x10028af0
mov esi, dword [edi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xe0]
mov dword [edi + 4], esi
mov byte [ecx], 0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10028b19
mov ecx, dword [eax]
push ecx
push 0x80
push 3
push ecx
push 0
mov edx, 0x80000000
call fcn.10018170
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x10028c88
test esi, esi
je 0x10028c88
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x34]
movlpd qword [ebp - 0xdc], xmm0
push eax
lea eax, [ebp - 0xdc]
movlpd qword [ebp - 0x34], xmm0
push eax
push dword [ebp - 0x18]
movlpd qword [ebp - 0xec], xmm0
call fcn.10029400
test al, al
je 0x10028c29
mov ebx, dword [ebp - 0xdc]
mov ecx, ebx
mov eax, dword [ebp - 0xd8]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x10028c29
jb 0x10028bd1
cmp ecx, 0x4ffffe
ja 0x10028c29
lea eax, [ebp - 0xcd]
mov byte [ebp - 0xcd], 0
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.1000f330
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push ebx
push dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp ecx, dword [ebp - 0xd8]
ja 0x10028c29
jb 0x10028c13
cmp eax, ebx
jae 0x10028c29
mov byte [ebp - 0xcd], cl
lea ecx, [ebp - 0xcd]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.1000f330
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jne 0x10028ca8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10028c88
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10028c69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100291c0
push edx
push ecx
call fcn.100a97f9
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 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 - 0x14]
xor ecx, ebp
call fcn.100a9455
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.1003d1b0
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
sub ecx, eax
push edx
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.1003d480
test al, al
jne 0x10028d57
mov eax, dword [ebp - 0xe0]
mov byte [eax], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10028c38
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10028d33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100291c5
push edx
push ecx
call fcn.100a97f9
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x10028c38
mov eax, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x34]
mov ecx, 0x3e8
sub eax, esi
div ecx
mov ebx, eax
mov dword [ebp - 0xd8], ebx
test edx, edx
je 0x10028db0
mov eax, dword [ebp - 0xe0]
mov byte [eax], 1
mov byte [ebp - 4], 0
test esi, esi
je 0x10028c38
mov ecx, dword [ebp - 0x2c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10028dac
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100291c0
push ecx
push esi
jmp 0x10028d35
test ebx, ebx
jne 0x10028e59
mov byte [ebp - 4], 0
test esi, esi
je 0x10028e02
mov ecx, dword [ebp - 0x2c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10028de3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100291c0
push ecx
push esi
call fcn.100a97f9
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10028e52
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10028e33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100291c0
push edx
push ecx
call fcn.100a97f9
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov al, 1
jmp 0x10028c8a
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
push ebx
mov ecx, eax
call fcn.10029c20
imul eax, ebx, 0x3e8
push eax
push esi
push dword [ebp - 0x40]
call fcn.100ac8f0
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xe8], eax
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10028f2c
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [ebp - 0xe8]
cmp dword [ebx + eax], 0x23ab45db
jne 0x10028f58
inc dword [ebp - 0x18]
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 - 0x40]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0xe8], eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x10028ed0
mov ebx, dword [ebp - 0xd8]
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 0x10028fd6
cmp ebx, 0x2762762
ja 0x100291ca
jmp 0x10028fce
mov eax, dword [ebp - 0xe0]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x10028d7d
mov ecx, dword [ebp - 0x38]
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 0x10028faa
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100291c0
push ecx
push edi
call fcn.100a97f9
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
jmp 0x10028d7d
push ebx
mov ecx, edi
call fcn.10029910
lea ecx, [ebp - 0xac]
call fcn.10026200
mov byte [ebp - 4], 3
xor ecx, ecx
mov ebx, dword [ebp - 0x40]
mov eax, 0x10624dd3
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x3c]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002913f
xor esi, esi
nop dword [eax + eax]
lea edx, [ebx + 4]
add edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029020
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.100033c0
lea edx, [ebx + 0x284]
add edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029053
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.100033c0
mov eax, dword [esi + ebx + 0x3cc]
lea edx, [ebx + 0x384]
mov dword [ebp - 0x64], eax
add edx, esi
mov eax, dword [esi + ebx + 0x3d0]
mov ecx, edx
mov dword [ebp - 0x60], eax
mov eax, dword [esi + ebx + 0x3d4]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + ebx + 0x3d8]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + ebx + 0x3dc]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + ebx + 0x3e0]
mov dword [ebp - 0x50], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xd8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100290c2
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.100033c0
mov eax, dword [esi + ebx + 0x3e4]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 4]
mov byte [ebp - 0x48], 0
push ecx
cmp dword [edi + 8], eax
je 0x10029109
mov ecx, eax
call fcn.10026fd0
add dword [edi + 4], 0x68
jmp 0x10029111
push eax
mov ecx, edi
call fcn.10029fa0
mov ecx, dword [ebp - 0x3c]
mov eax, 0x10624dd3
mov ebx, dword [ebp - 0x40]
add esi, 0x3e8
inc dword [ebp - 0x18]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x10029010
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0xe0]
mov byte [eax], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.10026e90
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x10028db8
mov ecx, dword [ebp - 0x38]
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 0x1002919c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100291c0
push ecx
push edi
call fcn.100a97f9
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
jmp 0x10028db8
call fcn.100aec89
call fcn.100aec89
call fcn.1000f810
int3