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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1001dbf8
push eax
mov eax, 0x2380
mov dword fs:[0], esp
call fcn.10012e90
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x4e1
xor eax, eax
lea edi, [esp + 0x100a]
mov word [esp + 0x1008], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.10001ba0
mov edi, 0x10055ad8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10055ad8
lea ecx, [esp + 0x1c]
call fcn.10001d90
mov ecx, 0x114
xor eax, eax
lea edi, [esp + 0x3e5]
mov byte [esp + 0x3e4], bl
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x91]
mov byte [esp + 0x90], al
mov dword [esp + 0x2398], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x23a0]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x10002d8a
mov eax, 0x1001f2c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x90]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x8f], 0x5c
je 0x10002dfc
mov edi, 0x10024324
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10024320
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x17]
mov ecx, edx
and ecx, 3
mov byte [esp + 0x5c], al
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.10001ba0
lea edi, [esp + 0x90]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x60]
call fcn.10001d90
lea edx, [esp + 0x58]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x23a0], 1
call fcn.10011950
add esp, 8
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x239c], 3
call fcn.10001ba0
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10002e9d
mov eax, 0x1001f2c4
lea ecx, [esp + 0x194]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x34], esi
jne 0x10002fcb
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10002ec8
mov eax, 0x1001f2c4
lea edx, [esp + 0x1008]
push eax
push edx
call fcn.10012e41
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1010]
push 0x10024318
push ecx
mov word [esp + eax*2 + 0x1016], 0
call fcn.10012e41
lea edx, [esp + 0x1018]
push str.Error:Find_File__
push edx
call fcn.10012e41
mov eax, dword [ebp + 0x2ecc]
lea ecx, [esp + 0x1020]
lea edx, [esp + 0x50]
push ecx
push edx
mov dword [esp + 0x404], eax
call fcn.10011aa0
add esp, 0x20
mov ecx, dword [0x1001f2cc]
mov byte [esp + 0x2398], 4
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.100034b0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x239c], 3
call fcn.10001ba0
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10002f65
mov esi, 0x1001f2c0
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x3e8]
mov ecx, eax
add eax, 4
mov edx, ecx
push 0x2710
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp]
and ecx, 3
push eax
lea eax, [esp + 0x3ec]
rep movsb byte es:[edi], byte [esi]
push eax
push 0x1f
mov ecx, ebp
call dword [edx + 0x14]
push 1
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x239c], 0
call fcn.100036b0
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x239c], 0xffffffff
call fcn.10001ba0
jmp 0x1000340f
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x83a]
mov word [esp + 0x838], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x13]
test al, al
je 0x10003037
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10003001
mov eax, 0x1001f2c4
lea ecx, [esp + 0x1008]
push eax
push ecx
call fcn.10012e41
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x1010]
push 0x10024318
push eax
mov word [esp + edx*2 + 0x1016], 0
call fcn.10012e41
add esp, 0x10
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x1c0]
push 0x100242ec
push ecx
call fcn.10012e0c
add esp, 8
test eax, eax
je 0x100032d8
lea edx, [esp + 0x1c0]
push 0x100242e8
push edx
call fcn.10012e0c
add esp, 8
test eax, eax
je 0x100032d8
lea eax, [esp + 0x78]
lea ecx, [esp + 0x1a8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x48]
lea eax, [esp + 0x78]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test byte [esp + 0x194], 0x10
mov eax, 0x100242e0
jne 0x100030a8
mov eax, 0x100242d8
mov ecx, dword [esp + 0x1b0]
push eax
push 0
push 0xffffffffffffffff
push 0
push ecx
call fcn.10012ec0
mov ecx, dword [esp + 0x1b8]
xor edi, edi
add eax, ecx
mov ecx, dword [esp + 0x54]
adc edx, edi
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5e]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x5e]
push eax
mov eax, dword [esp + 0x5e]
push ecx
mov ecx, dword [esp + 0x60]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
lea edx, [esp + 0x1e0]
push ecx
push edx
lea eax, [esp + 0x860]
push 0x10024284
push eax
call fcn.10012d9d
lea ecx, [esp + 0x868]
lea edx, [esp + 0xb0]
push ecx
push edx
call fcn.10011aa0
add esp, 0x38
mov ecx, dword [0x1001f2cc]
mov byte [esp + 0x2398], 5
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.100034b0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x239c], 3
call fcn.10001ba0
mov edx, dword [esp + 0x1c]
add edx, ebx
cmp edx, 0x44c
jae 0x100031ae
lea eax, [esp + 0x838]
lea ecx, [esp + 0x1008]
push eax
push ecx
call fcn.10012e41
mov eax, dword [esp + 0x24]
add esp, 8
add ebx, eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x838]
rep stosd dword es:[edi], eax
jmp 0x100032d8
lea edx, [esp + 0x1008]
lea eax, [esp + 0x68]
push edx
push eax
call fcn.10011aa0
add esp, 8
mov ecx, dword [0x1001f2cc]
mov byte [esp + 0x2398], 6
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.100034b0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x239c], 3
call fcn.10001ba0
mov esi, dword [esp + 0x18]
mov edx, dword [ebp + 0x2ecc]
xor ebx, ebx
mov dword [esp + 0x3e4], edx
cmp esi, ebx
jne 0x1000320d
mov esi, 0x1001f2c0
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x3e8]
mov ecx, eax
add eax, 4
mov edx, ecx
push 0x2710
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp]
and ecx, 3
push eax
lea eax, [esp + 0x3ec]
rep movsb byte es:[edi], byte [esi]
push eax
push 0x1f
mov ecx, ebp
call dword [edx + 0x14]
mov ecx, 0x4e2
xor eax, eax
lea edi, [esp + 0x1008]
lea edx, [esp + 0x1008]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x838]
push ecx
push edx
call fcn.10012e41
lea eax, [esp + 0x840]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.10011aa0
add esp, 0x10
mov edx, dword [0x1001f2cc]
lea ecx, [esp + 0x14]
push edx
push ebx
push eax
mov byte [esp + 0x23a4], 7
call fcn.100034b0
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x2398], 3
cmp eax, ebx
je 0x100032c4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100032bb
cmp al, 0xff
je 0x100032bb
dec al
mov byte [ecx], al
jmp 0x100032c4
push ecx
call fcn.10011d80
add esp, 4
mov esi, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x194]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10002fec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1008]
push 0x10024280
push ecx
call fcn.10012e41
lea edx, [esp + 0x1010]
lea eax, [esp + 0x70]
push edx
push eax
call fcn.10011aa0
add esp, 0x10
mov ecx, dword [0x1001f2cc]
mov byte [esp + 0x2398], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.100034b0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x2398], 3
test eax, eax
je 0x10003365
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1000335c
cmp al, 0xff
je 0x1000335c
dec al
mov byte [ecx], al
jmp 0x10003365
push ecx
call fcn.10011d80
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [ebp + 0x2ecc]
xor ebx, ebx
mov dword [esp + 0x3e4], edx
cmp esi, ebx
jne 0x10003381
mov esi, 0x1001f2c0
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x3e8]
mov ecx, eax
add eax, 4
mov edx, ecx
push 0x2710
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp]
and ecx, 3
push eax
lea eax, [esp + 0x3ec]
rep movsb byte es:[edi], byte [esi]
push eax
push 0x1f
mov ecx, ebp
call dword [edx + 0x14]
mov ecx, dword [esp + 0x28]
mov esi, eax
cmp ecx, ebx
je 0x100033df
mov al, byte [ecx - 1]
test al, al
je 0x100033d3
cmp al, 0xff
je 0x100033d3
dec al
mov byte [ecx - 1], al
jmp 0x100033df
add ecx, 0xfffffffe
push ecx
call fcn.10011d80
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x1000340f
mov al, byte [ecx - 1]
test al, al
je 0x10003405
cmp al, 0xff
je 0x10003405
dec al
mov byte [ecx - 1], al
jmp 0x1000340f
dec ecx
push ecx
call fcn.10011d80
add esp, 4
mov ecx, dword [esp + 0x2390]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238c
ret 4