Function at 0x100a8e30
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10146298]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x10146e50], 0
jne 0x100a8f40
mov al, byte [0x1013a0e9]
xor al, 0x5e
mov byte [0x1013a0f2], al
mov al, byte [0x1013a0ea]
xor al, 0x71
mov byte [0x1013a0f4], al
mov al, byte [0x1013a0eb]
xor al, 0xa3
mov byte [0x1013a0f5], al
mov al, byte [0x1013a0ec]
xor al, 0xd3
mov byte [0x1013a0f7], al
mov al, byte [0x1013a0ed]
xor al, 7
mov byte [0x1013a0f8], al
mov al, byte [0x1013a0ee]
xor al, 8
mov byte [0x1013a0f9], al
mov al, byte [0x1013a0ef]
xor al, 2
mov byte [0x1013a0fa], al
mov al, byte [0x1013a0f0]
xor al, 0xf4
mov byte [0x1013a0fb], al
mov al, byte [0x1013a0f1]
xor al, 0x23
mov byte [0x1013a0fc], al
mov al, byte [0x1013a0d5]
xor al, 0x4a
mov byte [0x1013a0df], al
mov al, byte [0x1013a0d6]
xor al, 0xb6
mov byte [0x1013a0e0], al
mov al, byte [0x1013a0d7]
xor al, 0
mov byte [0x1013a0e1], al
mov al, byte [0x1013a0d8]
xor al, 0x95
mov byte [0x1013a0e2], al
mov al, byte [0x1013a0d9]
xor al, 0x8e
mov byte [0x1013a0e3], al
mov al, byte [0x1013a0da]
xor al, 0xdc
mov byte [0x1013a0e4], al
mov al, byte [0x1013a0db]
xor al, 0xf7
mov byte [0x1013a0e5], al
mov al, byte [0x1013a0dc]
xor al, 8
mov byte [str.X5_r], al
mov al, byte [0x1013a0dd]
xor al, 0x9d
mov byte [0x1013a0e7], al
mov al, byte [0x1013a0de]
xor al, 0x73
mov byte [0x1013a0e8], al
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [0x10146e50], 1
push eax
mov eax, esp
mov dword [ebp - 0x3c], eax
push eax
mov ecx, esp
mov dword [ebp - 0x38], ecx
push eax
mov edx, esp
mov dword [ebp - 0x34], edx
sub esp, 0x140
mov eax, esp
mov dword [ebp - 0x30], eax
push eax
mov ebx, esp
mov dword [ebp - 0x1c], ebx
sub esp, 0xc8
mov ebx, esp
mov dword [ebp - 0x20], ebx
sub esp, 0x1f4
mov ebx, esp
mov dword [ebp - 0x2c], ebx
sub esp, 0xc
mov ebx, esp
mov dword [ebp - 0x28], ebx
sub esp, 0xc
mov ebx, esp
mov dword [ebp - 0x24], ebx
mov dword [ecx], edi
mov dword [edx], esi
mov ecx, dword [ecx]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0x20]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
lea eax, str.Program_Files
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc8
call fcn.100e61f0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [eax]
mov ecx, 0xffffffff
cmp eax, ecx
je 0x100a92dc
jmp 0x100a8ff0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
and eax, 0x10
cmp eax, 0
je 0x100a925a
mov ecx, dword [ebp - 0x30]
add ecx, 0x2c
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0x1012f48c
call fcn.10104130
add esp, 8
cmp eax, 0
je 0x100a9255
mov ecx, dword [ebp - 0x30]
add ecx, 0x2c
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0x1012f48e
call fcn.10104130
add esp, 8
cmp eax, 0
je 0x100a9255
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea eax, [0x1012f491]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a56d0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov edx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10104030
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov eax, dword [ebp - 0x30]
add eax, 0x2c
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10104040
mov ecx, dword [ebp - 0x2c]
add esp, 8
lea eax, [0x1012f493]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10104040
add esp, 8
mov eax, dword [ebp - 0x2c]
sub esp, 4
mov dword [esp], eax
call fcn.100a8260
add esp, 4
test al, 1
jne 0x100a90d6
jmp 0x100a90db
jmp 0x100a9298
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
add eax, 0x64
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a9310
add esp, 8
cmp eax, 0
jne 0x100a914e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
add eax, 0x96
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a9310
add esp, 8
cmp eax, 0
jne 0x100a914e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
add eax, 0x32
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a9310
add esp, 8
cmp eax, 0
jne 0x100a914e
jmp 0x100a9298
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, dword [0x1013a0f2]
mov dword [esi], edi
mov edi, dword [0x1013a0f6]
mov dword [esi + 4], edi
mov di, word [0x1013a0fa]
mov word [esi + 8], di
mov bl, byte [0x1013a0fc]
mov byte [esi + 0xa], bl
mov esi, dword [0x1013a0df]
mov dword [edx], esi
mov esi, dword [0x1013a0e3]
mov dword [edx + 4], esi
mov si, word [0x1013a0e7]
mov word [edx + 8], si
add eax, 0x64
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a9310
add esp, 8
cmp eax, 0
je 0x100a9205
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a9310
add esp, 8
cmp eax, 0
jne 0x100a9200
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a9310
add esp, 8
cmp eax, 0
jne 0x100a9200
jmp 0x100a9298
jmp 0x100a9205
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100a8e30
add esp, 8
cmp eax, 0
je 0x100a9250
sub esp, 8
mov dword [esp], 5
mov dword [esp + 4], 8
call fcn.10016950
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [eax], 1
jmp 0x100a92e5
jmp 0x100a9255
jmp 0x100a9293
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
add ecx, 0x2c
sub esp, 8
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10104130
add esp, 8
cmp eax, 0
jne 0x100a928e
mov eax, dword [ebp - 0x3c]
mov dword [eax], 1
jmp 0x100a92e5
jmp 0x100a9293
jmp 0x100a9298
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 0
jne 0x100a8ff0
sub esp, 4
mov dword [esp], 5
call fcn.10035b10
mov eax, dword [ebp - 0x1c]
add esp, 4
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e332f
mov eax, dword [ebp - 0x40]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret