Function at 0x10008030
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push esi
mov dword [ebp - 0x484], ebx
mov dword [ebx + 0x2c], 0x22
mov dword [ebp - 0x480], 0x2800
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
mov eax, 0x10033c94
jne 0x1000807b
mov eax, 0x10033c00
push eax
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x224]
push ecx
mov dword [ebp - 0x18], 0x730025
mov dword [ebp - 0x14], 0x730025
mov dword [ebp - 0x10], 0x2e002a
mov dword [ebp - 0xc], 0x2a
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x47c], edi
cmp edi, 0xffffffff
jne 0x10008106
xor eax, eax
mov byte [ebp - 0x475], 0x21
cmp dword [ebx + 8], eax
jne 0x1000826a
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 1
lea eax, [ebp - 0x475]
push eax
call edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100180fb
mov esp, ebp
pop ebp
ret 4
push 0x2800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov byte [ebx], 0x21
mov esi, 1
lea ecx, [ecx]
mov eax, dword [ebp - 0x480]
lea ecx, [eax - 0x208]
cmp esi, ecx
jbe 0x10008147
add eax, 0x208
push 0x42
push eax
push ebx
mov dword [ebp - 0x480], eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
mov ecx, 0x10033ca4
lea eax, [ebp - 0x448]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10008178
test dx, dx
je 0x10008174
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10008178
add eax, 4
add ecx, 4
test dx, dx
jne 0x10008152
xor eax, eax
jmp 0x1000817d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10008223
mov ecx, 0x10033ca8
lea eax, [ebp - 0x448]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100081b6
test dx, dx
je 0x100081b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100081b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10008190
xor eax, eax
jmp 0x100081bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10008223
mov dl, byte [ebp - 0x474]
and dl, 0x10
lea eax, [ebp - 0x448]
mov byte [esi + ebx], dl
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
push edi
lea ecx, [ebp - 0x448]
push ecx
lea edx, [esi + ebx]
push edx
call fcn.1001add0
mov eax, dword [ebp - 0x458]
add esi, edi
mov edi, dword [ebp - 0x47c]
mov dword [esi + ebx], eax
mov ecx, dword [ebp - 0x454]
mov dword [esi + ebx + 4], ecx
mov edx, dword [ebp - 0x460]
mov dword [esi + ebx + 8], edx
mov eax, dword [ebp - 0x45c]
add esp, 0xc
mov dword [esi + ebx + 0xc], eax
add esi, 0x10
lea ecx, [ebp - 0x474]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10008120
mov eax, dword [ebp - 0x484]
xor edi, edi
cmp dword [eax + 8], edi
jne 0x10008254
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push esi
push ebx
call eax
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x47c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100180fb
mov esp, ebp
pop ebp
ret 4