Function at 0x1003aef0
Capabilities:
Enumerate files on windows
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bb6e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
mov eax, dword [ebp + 0x1c]
push 0
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp + 0x44]
lea esi, [ebp + 0x44]
mov eax, dword [edi - 8]
test eax, eax
jne 0x1003af5d
lea ecx, [esp + 0x78]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1003b42a
lea edx, [esp + 0x78]
mov ecx, esi
push edx
call fcn.100b09da
jmp 0x1003af7e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x1003afc5
cmp byte [esp + ecx + 0x77], 0x5c
je 0x1003afc5
mov edi, 0x100dc340
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
call fcn.10029850
mov eax, dword [ebp + 0x48]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4d0], 0
mov eax, dword [eax - 8]
lea esi, [eax + 3]
push esi
call fcn.10029870
mov ebx, eax
push esi
push ebx
call fcn.1002a2c0
mov edi, dword [ebp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0
je 0x1003b02f
cmp byte [eax], 0x3b
jne 0x1003b027
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1003b01f
lea esi, [ebp + 0x50]
mov ecx, esi
call fcn.100aac92
lea eax, [esp + 0x17c]
push 0x107
push eax
call fcn.1002a2c0
mov edi, dword [esi]
add esp, 8
lea edx, [esp + 0x17c]
mov eax, dword [edi - 8]
test eax, eax
je 0x1003b09f
or ecx, 0xffffffff
xor eax, eax
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
lea eax, [esp + 0x17c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x17c]
test cl, cl
je 0x1003b0c1
cmp byte [eax], 0x3b
jne 0x1003b095
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1003b08d
jmp 0x1003b0c1
mov edi, 0x100e0bcc
or ecx, 0xffffffff
xor eax, eax
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.10029850
mov dword [esp + 0x20], 0x100c1c34
mov ecx, dword [0x100e7b18]
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0x17c]
lea edx, [esp + 0x17c]
test al, al
mov byte [esp + 0x4d0], 2
mov dword [esp + 0x18], edx
je 0x1003b346
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3c4]
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]
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
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
lea eax, [esp + 0x284]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x1003b32a
mov al, byte [esp + 0x284]
test al, 0x10
jne 0x1003b308
mov edx, dword [ebp + 0x54]
mov ecx, 1
cmp edx, ecx
je 0x1003b19c
test al, 0x80
jne 0x1003b308
cmp dword [ebp + 0x58], ecx
je 0x1003b1a9
test al, 0x20
jne 0x1003b308
cmp dword [ebp + 0x5c], ecx
je 0x1003b1b6
test al, 1
jne 0x1003b308
cmp dword [ebp + 0x60], ecx
je 0x1003b1c3
test al, 4
jne 0x1003b308
cmp dword [ebp + 0x64], ecx
je 0x1003b1d0
test al, 2
jne 0x1003b308
fld qword [ebp + 0x68]
fcomp qword [0x100c2468]
fnstsw ax
test ah, 0x40
jne 0x1003b21d
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x6c]
lea ecx, [esp + 0x298]
mov dword [esp + 0x34], edx
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
call fcn.1009a68e
lea edx, [esp + 0x34]
lea ecx, [esp + 0x6c]
push edx
call fcn.1009a792
test eax, eax
je 0x1003b308
fld qword [ebp + 0x70]
fcomp qword [0x100c2468]
fnstsw ax
test ah, 0x40
jne 0x1003b26a
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
lea edx, [esp + 0x298]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], 0
call fcn.1009a68e
lea eax, [esp + 0x40]
lea ecx, [esp + 0x60]
push eax
call fcn.1009a75c
test eax, eax
je 0x1003b308
mov ecx, dword [ebp + 0x1c]
push 0
push 0
push 0x18b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x1003b2b0
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
push esi
call fcn.100b586a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2b0]
push eax
push ecx
call fcn.1009c32e
add esp, 8
test eax, eax
je 0x1003b2b0
inc esi
cmp esi, edi
jl 0x1003b285
cmp esi, edi
jne 0x1003b308
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x2b0]
push edx
push 0
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov al, byte [ebx]
test al, al
mov esi, ebx
je 0x1003b308
lea ecx, [esp + 0x2b0]
push ecx
push esi
call fcn.1009b953
add esp, 8
test eax, eax
je 0x1003b2fe
push esi
call fcn.1002a310
add esi, eax
add esp, 4
cmp byte [esi], 0
jne 0x1003b2d7
jmp 0x1003b308
push edi
lea ecx, [esp + 0x24]
call fcn.10029b50
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x284]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003b179
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x18]
push esi
call fcn.1002a310
add esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp byte [esi], 0
jne 0x1003b0fe
lea ebx, [ebp + 0x48]
mov ecx, ebx
call fcn.100b0828
mov edi, dword [esp + 0x30]
shr edi, 2
test edi, edi
jle 0x1003b3e7
cmp dword [ebp + 0x4c], 1
jne 0x1003b3c0
xor esi, esi
test edi, edi
jle 0x1003b3e7
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + esi*4]
push eax
push 1
push 0x185
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, ebp
call fcn.100b586a
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x1003b3ad
push 0x100e0bd0
mov ecx, ebx
call fcn.100b0c2d
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.100b0c69
inc esi
cmp esi, edi
jl 0x1003b36b
jmp 0x1003b3e7
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x1c]
push 0
mov eax, dword [ecx]
push eax
push 0x186
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x28]
push ebx
mov ecx, dword [eax]
push ecx
mov ecx, ebp
call fcn.100b586a
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d0], 1
call fcn.100b089d
mov esi, 0x100c1c18
lea ecx, [esp + 0x20]
mov byte [esp + 0x4d0], 0
mov dword [esp + 0x20], esi
call fcn.10029a50
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4d0], 0xffffffff
mov dword [esp + 0x4c], esi
call fcn.10029a50
mov ecx, dword [esp + 0x4c8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret