Function at 0x100bd560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166557
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x101b900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x270], eax
cmp dword [esi + 0x10], 0
je 0x100bdc74
mov ecx, esi
call fcn.1007e740
test al, al
je 0x100bdc74
cmp dword [esi + 0x14], 8
jb 0x100bd5ba
mov esi, dword [esi]
push 0x101934f8
push esi
call fcn.1015042e
mov edi, eax
add esp, 8
mov dword [ebp - 0x274], edi
test edi, edi
je 0x100bdc74
push 0
push 0
push edi
mov byte [ebp - 0x269], 1
call fcn.1012fd82
add esp, 0xc
test eax, eax
jne 0x100bdc5c
push edi
push 0x4c
lea eax, [ebp - 0x268]
push 1
push eax
call fcn.1012f997
add esp, 0x10
cmp eax, 0x4c
jne 0x100bdc5c
cmp dword [ebp - 0x268], eax
jne 0x100bdc5c
mov ecx, dword [ebp - 0x254]
mov eax, ecx
shr eax, 7
and al, 1
mov byte [ebp - 0x278], al
test cl, 1
je 0x100bd7f5
push edi
push 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push 2
push eax
call fcn.1012f997
add esp, 0x10
cmp eax, 1
jne 0x100bdc5c
mov eax, dword [ebp - 0x21c]
test ax, ax
je 0x100bdc5c
movzx eax, ax
push eax
call fcn.1010a25b
movzx ecx, word [ebp - 0x21c]
mov esi, eax
push ecx
push 0
push esi
call fcn.10121f10
movzx ecx, word [ebp - 0x21c]
push edi
push ecx
push 1
push esi
call fcn.1012f997
movzx ecx, word [ebp - 0x21c]
add esp, 0x20
cmp eax, ecx
je 0x100bd6cd
push esi
mov byte [ebp - 0x269], 0
call fcn.1010a256
add esp, 4
push edi
call fcn.1012f4bb
mov al, byte [ebp - 0x269]
add esp, 4
jmp 0x100bdc76
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10121f10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100bd719
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100bd700
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x100bd747
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 0x100bd752
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100bd736
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, dword [ebp - 0x270]
call fcn.10003610
mov eax, dword [ebp - 0x21c]
xor edi, edi
movzx edx, ax
xor ecx, ecx
cmp edx, 3
jb 0x100bd7e6
nop dword [eax + eax]
mov ax, word [ecx + esi]
mov word [ebp - 0x292], ax
mov al, byte [ecx + esi + 2]
add ecx, 3
cmp al, 0x61
jne 0x100bd7cb
cmp ecx, edx
ja 0x100bd7e6
cmp byte [ecx + esi], 0x80
jne 0x100bd7cb
add ecx, 5
cmp ecx, edx
ja 0x100bd7e6
lea edx, [ecx + esi]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x298], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100bd7a5
sub ecx, dword [ebp - 0x298]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x270]
push edx
lea ecx, [ecx + 0x90]
call fcn.10003610
movzx eax, word [ebp - 0x292]
add edi, eax
mov eax, dword [ebp - 0x21c]
movzx edx, ax
mov ecx, edi
lea eax, [edi + 3]
cmp eax, edx
jbe 0x100bd770
push esi
call fcn.1010a256
mov edi, dword [ebp - 0x274]
add esp, 4
push edi
call fcn.1013d5f9
mov ecx, dword [ebp - 0x254]
add esp, 4
mov esi, eax
test cl, 2
je 0x100bd84c
push edi
push 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push 4
push eax
call fcn.1012f997
add esp, 0x10
cmp eax, 1
jne 0x100bdc5c
mov eax, dword [ebp - 0x21c]
push 0
add eax, esi
push eax
push edi
call fcn.1012fd82
mov ecx, dword [ebp - 0x254]
add esp, 0xc
test cl, 4
je 0x100bd91b
push dword [ebp - 0x278]
mov edx, edi
lea ecx, [ebp - 0x290]
call fcn.100bdcb0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x270]
add edi, 0x18
cmp edi, esi
je 0x100bd8ab
mov ecx, edi
call fcn.100035a0
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 - 0x27c]
cmp edx, 8
jb 0x100bd8f2
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bd8e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdc93
push edx
push ecx
call fcn.1010a1d5
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov edi, dword [ebp - 0x274]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
test cl, 8
je 0x100bd9e4
push dword [ebp - 0x278]
mov edx, edi
lea ecx, [ebp - 0x290]
call fcn.100bdcb0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x270]
add edi, 0x30
cmp edi, esi
je 0x100bd97a
mov ecx, edi
call fcn.100035a0
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 - 0x27c]
cmp edx, 8
jb 0x100bd9c1
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bd9b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdc98
push edx
push ecx
call fcn.1010a1d5
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
test cl, 0x10
je 0x100bdab1
push dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x290]
call fcn.100bdcb0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x270]
add edi, 0x48
cmp edi, esi
je 0x100bda47
mov ecx, edi
call fcn.100035a0
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 - 0x27c]
cmp edx, 8
jb 0x100bda8e
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bda84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdc9d
push edx
push ecx
call fcn.1010a1d5
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
test cl, 0x20
je 0x100bdb7e
push dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x290]
call fcn.100bdcb0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x270]
add edi, 0x60
cmp edi, esi
je 0x100bdb14
mov ecx, edi
call fcn.100035a0
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 - 0x27c]
cmp edx, 8
jb 0x100bdb5b
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bdb51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdca2
push edx
push ecx
call fcn.1010a1d5
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
test cl, 0x40
je 0x100bdc45
push dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x290]
call fcn.100bdcb0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x270]
add edi, 0x78
cmp edi, esi
je 0x100bdbe1
mov ecx, edi
call fcn.100035a0
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 - 0x27c]
cmp edx, 8
jb 0x100bdc28
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bdc1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdca7
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov edi, dword [ebp - 0x274]
push edi
call fcn.1012f4bb
mov al, byte [ebp - 0x269]
add esp, 4
jmp 0x100bdc76
push edi
mov byte [ebp - 0x269], 0
call fcn.1012f4bb
mov al, byte [ebp - 0x269]
add esp, 4
jmp 0x100bdc76
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10109e31
mov esp, ebp
pop ebp
ret 8
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
int3