Function at 0x1002f230
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10095c79
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x1dc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1ec]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002f281
sub eax, edi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10035db0
mov dword [esp + 0x1e4], ebx
mov edi, 0xf
mov eax, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002f2b5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.10017b90
mov byte [esp + 0x1e4], 1
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1001c350
mov byte [esp + 0x1e4], bl
cmp dword [esp + 0x58], 0x10
jb 0x1002f2fb
mov eax, dword [esp + 0x44]
push eax
call fcn.100799fa
add esp, 4
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, ebp
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
je 0x1002f627
jmp 0x1002f335
mov edi, 0xf
cmp dword [esp + 0x18], ebx
jne 0x1002f627
cmp esi, ebp
jbe 0x1002f348
call fcn.1007a36d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x1002f567
call fcn.1007a36d
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1002f365
call fcn.1007a36d
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.10017ee0
mov byte [esp + 0x1e4], 2
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], edi
cmp edi, eax
jbe 0x1002f39f
call fcn.1007a36d
mov eax, dword [esp + 0x2c]
lea esi, [edi + 0x1c]
mov ebp, eax
cmp esi, eax
je 0x1002f3cb
sub edi, esi
lea ebx, [ebx]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esi + edi]
call fcn.10017ee0
add esi, 0x1c
cmp esi, ebp
jne 0x1002f3b0
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
lea esi, [eax - 0x1c]
mov ebp, eax
cmp esi, eax
je 0x1002f402
add esi, 0x18
cmp dword [esi], 0x10
jb 0x1002f3e8
mov eax, dword [esi - 0x14]
push eax
call fcn.100799fa
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, ebp
jne 0x1002f3d7
mov eax, dword [esp + 0x2c]
sub eax, 0x1c
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x28], edi
ja 0x1002f413
cmp edi, eax
jbe 0x1002f418
call fcn.1007a36d
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
mov esi, 0xf
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.10017ee0
mov byte [esp + 0x1e4], 3
push 4
push 0x100a0aa0
lea eax, [esp + 0x64]
call fcn.10035a60
mov eax, dword [esp + 0x60]
mov edi, 0x10
cmp dword [esp + 0x74], edi
jae 0x1002f468
lea eax, [esp + 0x60]
lea ecx, [esp + 0x94]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1002f5b5
test byte [esp + 0x94], 0x10
je 0x1002f56e
cmp byte [esp + 0xc0], 0x2e
jne 0x1002f4ba
mov al, byte [esp + 0xc1]
cmp al, bl
je 0x1002f58d
cmp al, 0x2e
jne 0x1002f4ba
cmp byte [esp + 0xc2], bl
je 0x1002f58d
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.10017ee0
mov byte [esp + 0x1e4], 4
push 1
push 0x100a0aa8
lea eax, [esp + 0x80]
call fcn.10035a60
lea eax, [esp + 0xc0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002f508
sub eax, edx
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x80]
call fcn.10035a60
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1001c350
mov byte [esp + 0x1e4], 3
cmp dword [esp + 0x90], edi
jb 0x1002f553
mov eax, dword [esp + 0x7c]
push eax
call fcn.100799fa
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jmp 0x1002f58d
mov eax, dword [eax]
jmp 0x1002f35b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
dec ecx
push ecx
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.1008df4c
add esp, 0xc
test eax, eax
je 0x1002f5a6
lea ecx, [esp + 0x94]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1002f482
jmp 0x1002f5ae
mov dword [esp + 0x18], 1
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x1e4], 2
cmp dword [esp + 0x74], edi
jb 0x1002f5d0
mov edx, dword [esp + 0x60]
push edx
call fcn.100799fa
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0x1e4], bl
cmp dword [esp + 0x58], edi
jb 0x1002f5f6
mov eax, dword [esp + 0x44]
push eax
call fcn.100799fa
add esp, 4
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x28]
mov ecx, ebp
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jne 0x1002f330
mov dword [esp + 0x1e4], 0xffffffff
lea edx, [esp + 0x1c]
push edx
call fcn.1001c2d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.10079a05
add esp, 0x1d4
ret