Function at 0x100300c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x358
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
mov byte [esp + 0x264], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x265]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x128]
mov dword [esp + 0x124], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x36c]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, ebp
call fcn.1002fdf0
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push ebx
push 0x1f0fff
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x10030164
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x358
ret 4
lea edx, [esp + 0x20]
push 0x104
push edx
push ebx
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jne 0x100301a8
mov ecx, ebp
call fcn.1002fdf0
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push 0x104
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push ecx
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x100301a8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x358
ret 4
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
jne 0x100301c4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x358
ret 4
xor eax, eax
mov edx, 0x104
lea ecx, [esp + 0x20]
cmp byte [ecx], 0
je 0x100301da
inc ecx
dec edx
jne 0x100301cf
jmp 0x10030218
cmp edx, ebx
je 0x10030218
lea ecx, [esp + 0x18]
test ecx, ecx
je 0x100301ed
mov eax, 0x104
sub eax, edx
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x20]
je 0x10030218
mov esi, str..
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x10030210
mov byte [eax], cl
inc eax
dec edx
jne 0x10030201
jmp 0x10030214
cmp edx, ebx
jne 0x10030215
dec eax
mov byte [eax], 0
lea edx, [esp + 0x124]
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x20]
cmp ebx, 0xffffffff
rep stosd dword es:[edi], eax
jne 0x1003024c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x358
ret 4
lea esi, [ebp + 0x4c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbsupr]
lea ecx, [esp + 0x150]
push ecx
call ebp
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
push 2
lea edx, [esp + 0x268]
push 0x104
dec ecx
push edx
lea eax, [esp + 0x15c]
push ecx
push eax
mov ecx, esi
call fcn.10034080
lea ecx, [esp + 0x264]
push 2
push ecx
mov ecx, esi
call fcn.10033fc0
test eax, eax
jne 0x100302da
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x150]
push edx
call fcn.100307b0
test eax, eax
jne 0x100302da
push eax
call fcn.10042690
lea eax, [esp + 0x124]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x100302e2
jmp 0x10030255
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x358
ret 4