Function at 0x1008b230
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
mov dword [ebp - 0x1cc], ecx
call fcn.100c5123
mov esi, eax
add esp, 4
test esi, esi
je 0x1008b7e1
push esi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0
push 0x100f1e88
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.100b2e90
mov ecx, esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008b2b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.100b2e90
sub esp, 0x18
mov ecx, esp
push 0x10101ad0
call fcn.100b2700
lea ecx, [ebp - 0x1e4]
call fcn.10084620
add esp, 0x18
mov ecx, eax
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
push ecx
call fcn.100b7550
lea ecx, [ebp - 0x1c]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x34]
push eax
movq qword [ebp - 0x24], xmm0
call fcn.100b2640
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1008b359
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b34f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7f2
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp - 0x1d0]
cmp edx, 0x10
jb 0x1008b393
mov ecx, dword [ebp - 0x1e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b389
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7f2
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edi, dword [ebp - 0xc]
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
lea eax, [edi + 2]
push eax
call fcn.100b5850
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x198]
mov eax, esi
cmovae ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x19c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008b40c
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1ac]
cmovae eax, dword [ebp - 0x1ac]
lea esi, [eax + edx]
push esi
call fcn.100c21a0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008b428
mov byte [ebp - 0x194], 0
lea ecx, [ebp - 0x1ac]
push dword [ebp - 0x194]
push edi
call fcn.100b4330
mov edi, dword [ebp - 0xc]
push 0x100fb570
lea ecx, [ebp - 0x1ac]
call fcn.100b2580
cmp dword [ebp - 0x198], 0x10
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x1ac]
cmovae eax, dword [ebp - 0x1ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1c8], eax
cmp edx, 0x10
jb 0x1008b49a
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b490
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7f7
push edx
push ecx
call fcn.100becc4
add esp, 8
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
nop word [eax + eax]
test byte [ebp - 0x190], 0x10
je 0x1008b74d
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008b4e8
sub ecx, edx
lea eax, [ebp - 0x164]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.100b2e90
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1c4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008b525
sub ecx, edx
lea eax, [edi + ecx]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.100b5850
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1b0]
mov eax, esi
cmovae ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1b4]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008b589
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1c4]
cmovae eax, dword [ebp - 0x1c4]
lea esi, [eax + edx]
push esi
call fcn.100c21a0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008b5a5
mov byte [ebp - 0x194], 0
lea ecx, [ebp - 0x1c4]
push dword [ebp - 0x194]
push edi
call fcn.100b4330
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.100b2580
sub esp, 0x18
mov ecx, esp
push 0x10102178
call fcn.100b2700
lea ecx, [ebp - 0x1fc]
call fcn.10084620
push eax
lea edx, [ebp - 0x1c4]
lea ecx, [ebp - 0x1e4]
call fcn.100b3330
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x1008b5ee
mov eax, dword [eax]
push 0x100fb474
push eax
call fcn.100c885d
add esp, 8
test eax, eax
je 0x1008b60d
push eax
call fcn.100c88eb
add esp, 4
mov bl, 1
jmp 0x1008b60f
xor bl, bl
mov edx, dword [ebp - 0x1d0]
cmp edx, 0x10
jb 0x1008b649
mov ecx, dword [ebp - 0x1e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b63f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7f2
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0xf
mov byte [ebp - 0x1e4], 0
cmp edx, 0x10
jb 0x1008b69e
mov ecx, dword [ebp - 0x1c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b694
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7f2
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0xf
mov byte [ebp - 0x1c4], 0
cmp edx, 0x10
jb 0x1008b6f3
mov ecx, dword [ebp - 0x1fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b6e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7f2
push edx
push ecx
call fcn.100becc4
add esp, 8
test bl, bl
je 0x1008b719
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008b700
sub eax, edx
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.100b2e90
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1008b74d
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b743
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7fc
push edx
push ecx
call fcn.100becc4
add esp, 8
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1008b4c0
mov esi, dword [ebp - 0x1cc]
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.100b34d0
mov edx, dword [ebp - 8]
add esp, 4
cmp edx, 0x10
jb 0x1008b7af
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b7a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7fc
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1008b7df
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b7d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b7fc
push edx
push ecx
call fcn.100becc4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be769
mov esp, ebp
pop ebp
ret
call fcn.100cb6d0
call fcn.100cb6d0
call fcn.100cb6d0
int3