Function at 0x1001f7cc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x268]
sub esp, 0x268
push 0xffffffffffffffff
push 0x100cd29d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x264], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp + 0x260], 0
lea esi, [ebp + 0x250]
mov ecx, dword [ebp + 0x270]
or ebx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp + 0x250], str.NPOJI.dll
mov dword [ebp + 0x254], str.NPJava.dll
mov dword [ebp + 0x258], str.NPJPI.dll
mov dword [ebp + 0x25c], str.npjp2.dll
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], esi
jmp 0x1001f853
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1001f9ec
push ecx
lea ecx, [ebp - 0x14]
call fcn.10001719
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push 0x100ecaac
mov dword [ebp - 4], ebx
call fcn.10001719
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x1001f898
call fcn.10001b13
mov dword [ebp - 0x1c], ebx
push dword [esi]
lea ecx, [ebp - 0x20]
call fcn.10001719
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x1001f8c4
call fcn.10001b13
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1001f8cf
mov eax, dword [edi]
jmp 0x1001f8d1
mov eax, ebx
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001f9be
push dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
call fcn.10001719
push 0x100ecab0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.10001719
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1001f927
call fcn.10001b13
and dword [ebp - 0x24], 0
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001719
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1001f953
call fcn.10001b13
and dword [ebp - 0x28], 0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1001f95e
mov eax, dword [esi]
jmp 0x1001f960
xor eax, eax
push eax
call fcn.100341af
pop ecx
test eax, eax
je 0x1001f993
mov byte [ebp - 4], 0
test esi, esi
je 0x1001f97e
mov ecx, esi
call fcn.10001b13
and dword [ebp - 0x10], 0
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1001f8e7
jmp 0x1001f9be
mov dword [ebp - 0x2c], 1
test esi, esi
je 0x1001f9be
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1001f9ba
mov ecx, esi
call fcn.10001b86
push 0xc
push esi
call fcn.100c0f6c
pop ecx
pop ecx
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add eax, 4
mov dword [ebp - 0x18], eax
test edi, edi
je 0x1001f9dd
mov ecx, edi
call fcn.10001b13
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
jne 0x1001f850
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x264]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x268
leave
ret