Function at 0x10026fa0
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 0x101125f7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x10160068]
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 0x100276d4
mov ecx, esi
call fcn.10087090
test al, al
je 0x100276d4
cmp dword [esi + 0x14], 8
jb 0x1002700e
mov esi, dword [esi]
push 0x1013a334
push esi
call fcn.100ed7e2
mov edi, eax
add esp, 8
mov dword [ebp - 0x284], edi
test edi, edi
je 0x100276d4
push 0
push 0
push edi
mov byte [ebp - 0x279], 1
call fcn.100edbf0
add esp, 0xc
test eax, eax
jne 0x100276bc
push edi
push 0x4c
lea eax, [ebp - 0x278]
push 1
push eax
call fcn.100edf90
add esp, 0x10
cmp eax, 0x4c
jne 0x100276bc
cmp dword [ebp - 0x278], eax
jne 0x100276bc
mov ecx, dword [ebp - 0x264]
mov eax, ecx
shr eax, 7
and al, 1
mov byte [ebp - 0x288], al
test cl, 1
je 0x10027255
push edi
push 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push 2
push eax
call fcn.100edf90
add esp, 0x10
cmp eax, 1
jne 0x100276bc
mov eax, dword [ebp - 0x224]
test ax, ax
je 0x100276bc
movzx eax, ax
push eax
call fcn.100cf0d6
movzx ecx, word [ebp - 0x224]
add esp, 4
mov esi, eax
push ecx
push 0
push esi
call fcn.100e7700
movzx ecx, word [ebp - 0x224]
add esp, 0xc
push edi
push ecx
push 1
push esi
call fcn.100edf90
movzx ecx, word [ebp - 0x224]
add esp, 0x10
cmp eax, ecx
je 0x10027127
push esi
mov byte [ebp - 0x279], 0
call fcn.100ceb35
add esp, 4
push edi
call fcn.100ed8b6
mov al, byte [ebp - 0x279]
add esp, 4
jmp 0x100276d6
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.100e7700
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10027179
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027160
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
jmp 0x100271a7
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 0x100271b2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027196
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, dword [ebp - 0x280]
call fcn.1000b730
mov eax, dword [ebp - 0x224]
xor edi, edi
movzx edx, ax
xor ecx, ecx
cmp edx, 3
jb 0x10027246
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 0x1002722b
cmp ecx, edx
ja 0x10027246
cmp byte [ecx + esi], 0x80
jne 0x1002722b
add ecx, 5
cmp ecx, edx
ja 0x10027246
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 0x10027205
sub ecx, dword [ebp - 0x2a8]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x280]
push edx
lea ecx, [ecx + 0x90]
call fcn.1000b730
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 0x100271d0
push esi
call fcn.100ceb35
mov edi, dword [ebp - 0x284]
add esp, 4
push edi
call fcn.100ed716
mov ecx, dword [ebp - 0x264]
add esp, 4
mov esi, eax
test cl, 2
je 0x100272ac
push edi
push 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push 4
push eax
call fcn.100edf90
add esp, 0x10
cmp eax, 1
jne 0x100276bc
mov eax, dword [ebp - 0x224]
push 0
add eax, esi
push eax
push edi
call fcn.100edbf0
mov ecx, dword [ebp - 0x264]
add esp, 0xc
test cl, 4
je 0x1002737b
push dword [ebp - 0x288]
mov edx, edi
lea ecx, [ebp - 0x2a0]
call fcn.10027710
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x280]
add edi, 0x18
cmp edi, esi
je 0x1002730b
mov ecx, edi
call fcn.1000b6d0
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 0x10027352
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027348
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100276f6
push edx
push ecx
call fcn.100cf0c8
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 0x10027444
push dword [ebp - 0x288]
mov edx, edi
lea ecx, [ebp - 0x2a0]
call fcn.10027710
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x280]
add edi, 0x30
cmp edi, esi
je 0x100273da
mov ecx, edi
call fcn.1000b6d0
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 0x10027421
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027417
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100276fb
push edx
push ecx
call fcn.100cf0c8
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 0x10027511
push dword [ebp - 0x288]
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x2a0]
call fcn.10027710
add esp, 4
mov esi, eax
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x280]
add edi, 0x48
cmp edi, esi
je 0x100274a7
mov ecx, edi
call fcn.1000b6d0
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 0x100274ee
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100274e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027700
push edx
push ecx
call fcn.100cf0c8
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 0x100275de
push dword [ebp - 0x288]
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x2a0]
call fcn.10027710
add esp, 4
mov esi, eax
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x280]
add edi, 0x60
cmp edi, esi
je 0x10027574
mov ecx, edi
call fcn.1000b6d0
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 0x100275bb
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100275b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027705
push edx
push ecx
call fcn.100cf0c8
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 0x100276a5
push dword [ebp - 0x288]
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x2a0]
call fcn.10027710
add esp, 4
mov esi, eax
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x280]
add edi, 0x78
cmp edi, esi
je 0x10027641
mov ecx, edi
call fcn.1000b6d0
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 0x10027688
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002767e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002770a
push edx
push ecx
call fcn.100cf0c8
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.100ed8b6
mov al, byte [ebp - 0x279]
add esp, 4
jmp 0x100276d6
push edi
mov byte [ebp - 0x279], 0
call fcn.100ed8b6
mov al, byte [ebp - 0x279]
add esp, 4
jmp 0x100276d6
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.100ceb24
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
int3