Function at 0x10028390
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 0x1011d337
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x1016f070]
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, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x280], eax
cmp dword [esi + 0x10], 0
je 0x10028ac4
mov ecx, esi
call fcn.10092390
test al, al
je 0x10028ac4
cmp dword [esi + 0x14], 8
jb 0x100283fe
mov esi, dword [esi]
push 0x1014656c
push esi
call fcn.100f8cb2
mov edi, eax
add esp, 8
mov dword [ebp - 0x284], edi
test edi, edi
je 0x10028ac4
push 0
push 0
push edi
mov byte [ebp - 0x279], 1
call fcn.100f90c0
add esp, 0xc
test eax, eax
jne 0x10028aac
push edi
push 0x4c
lea eax, [ebp - 0x278]
push 1
push eax
call fcn.100f9460
add esp, 0x10
cmp eax, 0x4c
jne 0x10028aac
cmp dword [ebp - 0x278], eax
jne 0x10028aac
mov ecx, dword [ebp - 0x264]
mov eax, ecx
shr eax, 7
and al, 1
mov byte [ebp - 0x288], al
test cl, 1
je 0x10028645
push edi
push 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push 2
push eax
call fcn.100f9460
add esp, 0x10
cmp eax, 1
jne 0x10028aac
mov eax, dword [ebp - 0x224]
test ax, ax
je 0x10028aac
movzx eax, ax
push eax
call fcn.100dabf9
movzx ecx, word [ebp - 0x224]
add esp, 4
mov esi, eax
push ecx
push 0
push esi
call fcn.100f2c30
movzx ecx, word [ebp - 0x224]
add esp, 0xc
push edi
push ecx
push 1
push esi
call fcn.100f9460
movzx ecx, word [ebp - 0x224]
add esp, 0x10
cmp eax, ecx
je 0x10028517
push esi
mov byte [ebp - 0x279], 0
call fcn.100da696
add esp, 4
push edi
call fcn.100f8d86
mov al, byte [ebp - 0x279]
add esp, 4
jmp 0x10028ac6
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.100f2c30
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10028569
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10028550
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
jmp 0x10028597
movzx edi, word [esi]
add edi, 8
push 0x1000
add edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x100285a2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10028586
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, dword [ebp - 0x280]
call fcn.10004bf0
mov eax, dword [ebp - 0x224]
xor edi, edi
movzx edx, ax
xor ecx, ecx
cmp edx, 3
jb 0x10028636
nop dword [eax + eax]
mov ax, word [ecx + esi]
mov word [ebp - 0x2a2], ax
mov al, byte [ecx + esi + 2]
add ecx, 3
cmp al, 0x61
jne 0x1002861b
cmp ecx, edx
ja 0x10028636
cmp byte [ecx + esi], 0x80
jne 0x1002861b
add ecx, 5
cmp ecx, edx
ja 0x10028636
lea edx, [ecx + esi]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2a8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100285f5
sub ecx, dword [ebp - 0x2a8]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x280]
push edx
lea ecx, [ecx + 0x90]
call fcn.10004bf0
movzx eax, word [ebp - 0x2a2]
add edi, eax
mov eax, dword [ebp - 0x224]
movzx edx, ax
mov ecx, edi
lea eax, [edi + 3]
cmp eax, edx
jbe 0x100285c0
push esi
call fcn.100da696
mov edi, dword [ebp - 0x284]
add esp, 4
push edi
call fcn.100f8be6
mov ecx, dword [ebp - 0x264]
add esp, 4
mov esi, eax
test cl, 2
je 0x1002869c
push edi
push 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push 4
push eax
call fcn.100f9460
add esp, 0x10
cmp eax, 1
jne 0x10028aac
mov eax, dword [ebp - 0x224]
push 0
add eax, esi
push eax
push edi
call fcn.100f90c0
mov ecx, dword [ebp - 0x264]
add esp, 0xc
test cl, 4
je 0x1002876b
push dword [ebp - 0x288]
mov edx, edi
lea ecx, [ebp - 0x2a0]
call fcn.10028b00
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x280]
add edi, 0x18
cmp edi, esi
je 0x100286fb
mov ecx, edi
call fcn.10004b90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28c]
cmp edx, 8
jb 0x10028742
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10028738
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028ae6
push edx
push ecx
call fcn.100da665
add esp, 8
mov ecx, dword [ebp - 0x264]
xor eax, eax
mov edi, dword [ebp - 0x284]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
test cl, 8
je 0x10028834
push dword [ebp - 0x288]
mov edx, edi
lea ecx, [ebp - 0x2a0]
call fcn.10028b00
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x280]
add edi, 0x30
cmp edi, esi
je 0x100287ca
mov ecx, edi
call fcn.10004b90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28c]
cmp edx, 8
jb 0x10028811
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10028807
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028aeb
push edx
push ecx
call fcn.100da665
add esp, 8
mov ecx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
test cl, 0x10
je 0x10028901
push dword [ebp - 0x288]
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x2a0]
call fcn.10028b00
add esp, 4
mov esi, eax
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x280]
add edi, 0x48
cmp edi, esi
je 0x10028897
mov ecx, edi
call fcn.10004b90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28c]
cmp edx, 8
jb 0x100288de
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100288d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028af0
push edx
push ecx
call fcn.100da665
add esp, 8
mov ecx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
test cl, 0x20
je 0x100289ce
push dword [ebp - 0x288]
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x2a0]
call fcn.10028b00
add esp, 4
mov esi, eax
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x280]
add edi, 0x60
cmp edi, esi
je 0x10028964
mov ecx, edi
call fcn.10004b90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28c]
cmp edx, 8
jb 0x100289ab
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100289a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028af5
push edx
push ecx
call fcn.100da665
add esp, 8
mov ecx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
test cl, 0x40
je 0x10028a95
push dword [ebp - 0x288]
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x2a0]
call fcn.10028b00
add esp, 4
mov esi, eax
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x280]
add edi, 0x78
cmp edi, esi
je 0x10028a31
mov ecx, edi
call fcn.10004b90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28c]
cmp edx, 8
jb 0x10028a78
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10028a6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028afa
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov edi, dword [ebp - 0x284]
push edi
call fcn.100f8d86
mov al, byte [ebp - 0x279]
add esp, 4
jmp 0x10028ac6
push edi
mov byte [ebp - 0x279], 0
call fcn.100f8d86
mov al, byte [ebp - 0x279]
add esp, 4
jmp 0x10028ac6
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.100da624
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
int3