Function at 0x100bd620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166647
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 0x100bdd34
mov ecx, esi
call fcn.1007e810
test al, al
je 0x100bdd34
cmp dword [esi + 0x14], 8
jb 0x100bd67a
mov esi, dword [esi]
push 0x10193518
push esi
call fcn.101504ee
mov edi, eax
add esp, 8
mov dword [ebp - 0x274], edi
test edi, edi
je 0x100bdd34
push 0
push 0
push edi
mov byte [ebp - 0x269], 1
call fcn.1012fe42
add esp, 0xc
test eax, eax
jne 0x100bdd1c
push edi
push 0x4c
lea eax, [ebp - 0x268]
push 1
push eax
call fcn.1012fa57
add esp, 0x10
cmp eax, 0x4c
jne 0x100bdd1c
cmp dword [ebp - 0x268], eax
jne 0x100bdd1c
mov ecx, dword [ebp - 0x254]
mov eax, ecx
shr eax, 7
and al, 1
mov byte [ebp - 0x278], al
test cl, 1
je 0x100bd8b5
push edi
push 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push 2
push eax
call fcn.1012fa57
add esp, 0x10
cmp eax, 1
jne 0x100bdd1c
mov eax, dword [ebp - 0x21c]
test ax, ax
je 0x100bdd1c
movzx eax, ax
push eax
call fcn.1010a31b
movzx ecx, word [ebp - 0x21c]
mov esi, eax
push ecx
push 0
push esi
call fcn.10121fd0
movzx ecx, word [ebp - 0x21c]
push edi
push ecx
push 1
push esi
call fcn.1012fa57
movzx ecx, word [ebp - 0x21c]
add esp, 0x20
cmp eax, ecx
je 0x100bd78d
push esi
mov byte [ebp - 0x269], 0
call fcn.1010a316
add esp, 4
push edi
call fcn.1012f57b
mov al, byte [ebp - 0x269]
add esp, 4
jmp 0x100bdd36
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10121fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100bd7d9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100bd7c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x100bd807
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 0x100bd812
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100bd7f6
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, dword [ebp - 0x270]
call fcn.10003600
mov eax, dword [ebp - 0x21c]
xor edi, edi
movzx edx, ax
xor ecx, ecx
cmp edx, 3
jb 0x100bd8a6
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 0x100bd88b
cmp ecx, edx
ja 0x100bd8a6
cmp byte [ecx + esi], 0x80
jne 0x100bd88b
add ecx, 5
cmp ecx, edx
ja 0x100bd8a6
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 0x100bd865
sub ecx, dword [ebp - 0x298]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x270]
push edx
lea ecx, [ecx + 0x90]
call fcn.10003600
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 0x100bd830
push esi
call fcn.1010a316
mov edi, dword [ebp - 0x274]
add esp, 4
push edi
call fcn.1013d6bc
mov ecx, dword [ebp - 0x254]
add esp, 4
mov esi, eax
test cl, 2
je 0x100bd90c
push edi
push 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push 4
push eax
call fcn.1012fa57
add esp, 0x10
cmp eax, 1
jne 0x100bdd1c
mov eax, dword [ebp - 0x21c]
push 0
add eax, esi
push eax
push edi
call fcn.1012fe42
mov ecx, dword [ebp - 0x254]
add esp, 0xc
test cl, 4
je 0x100bd9db
push dword [ebp - 0x278]
mov edx, edi
lea ecx, [ebp - 0x290]
call fcn.100bdd70
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x270]
add edi, 0x18
cmp edi, esi
je 0x100bd96b
mov ecx, edi
call fcn.10003590
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 0x100bd9b2
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bd9a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdd53
push edx
push ecx
call fcn.1010a295
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 0x100bdaa4
push dword [ebp - 0x278]
mov edx, edi
lea ecx, [ebp - 0x290]
call fcn.100bdd70
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x270]
add edi, 0x30
cmp edi, esi
je 0x100bda3a
mov ecx, edi
call fcn.10003590
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 0x100bda81
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bda77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdd58
push edx
push ecx
call fcn.1010a295
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 0x100bdb71
push dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x290]
call fcn.100bdd70
add esp, 4
mov esi, eax
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x270]
add edi, 0x48
cmp edi, esi
je 0x100bdb07
mov ecx, edi
call fcn.10003590
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 0x100bdb4e
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bdb44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdd5d
push edx
push ecx
call fcn.1010a295
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 0x100bdc3e
push dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x290]
call fcn.100bdd70
add esp, 4
mov esi, eax
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x270]
add edi, 0x60
cmp edi, esi
je 0x100bdbd4
mov ecx, edi
call fcn.10003590
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 0x100bdc1b
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bdc11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdd62
push edx
push ecx
call fcn.1010a295
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 0x100bdd05
push dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x290]
call fcn.100bdd70
add esp, 4
mov esi, eax
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x270]
add edi, 0x78
cmp edi, esi
je 0x100bdca1
mov ecx, edi
call fcn.10003590
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 0x100bdce8
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bdcde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdd67
push edx
push ecx
call fcn.1010a295
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.1012f57b
mov al, byte [ebp - 0x269]
add esp, 4
jmp 0x100bdd36
push edi
mov byte [ebp - 0x269], 0
call fcn.1012f57b
mov al, byte [ebp - 0x269]
add esp, 4
jmp 0x100bdd36
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.10109ef1
mov esp, ebp
pop ebp
ret 8
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
int3