Function at 0x45187c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff678
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x4a83c4
call fcn.004980b0
cmp byte [ebx], 0
je 0x4518aa
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
mov eax, edx
jmp 0x451b33
mov byte [ebx], 1
xor ecx, ecx
mov dword [ebx + 0x204], ecx
push 0x32dc
call fcn.004962f0
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4518e0
mov word [ebp - 0x34], 0x14
mov eax, dword [ebp - 4]
call fcn.00454b8c
mov word [ebp - 0x34], 8
mov edx, dword [ebp - 4]
jmp 0x4518e3
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], edx
push 4
call fcn.004962f0
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x45191f
mov word [ebp - 0x34], 0x2c
mov edx, dword [ebp - 8]
mov dword [edx], 0x4a8c54
mov ecx, dword [ebp - 8]
mov dword [ecx], 0x4a8c88
mov word [ebp - 0x34], 0x20
mov eax, dword [ebp - 8]
jmp 0x451922
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x204]
inc dword [ebx + 0x204]
mov dword [ebx + edx*4 + 0x104], eax
push 0x28
call fcn.004962f0
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45195d
mov word [ebp - 0x34], 0x44
mov eax, dword [ebp - 0xc]
call fcn.004551c0
mov word [ebp - 0x34], 0x38
mov esi, dword [ebp - 0xc]
jmp 0x451960
mov esi, dword [ebp - 0xc]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], esi
push 8
call fcn.004962f0
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4519a4
mov word [ebp - 0x34], 0x5c
mov edi, esi
mov edx, dword [ebp - 0x10]
mov dword [edx], 0x4a8c54
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x4a8c20
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x50
mov edx, dword [ebp - 0x10]
jmp 0x4519a7
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x204]
lea ecx, [ebp - 0x448]
inc dword [ebx + 0x204]
mov dword [ebx + eax*4 + 0x104], edx
push 0x400
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4a80d0
lea eax, [ebp - 0x448]
call fcn.0040bd28
push eax
call fcn.00497c80
add esp, 8
lea edx, [ebp - 0x588]
push edx
lea ecx, [ebp - 0x448]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
sete al
and eax, 1
jmp 0x451b19
lea edx, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x988]
push ecx
call fcn.00497c80
add esp, 8
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x988]
call fcn.0040bd28
push eax
call fcn.00497c80
add esp, 8
push 0x4b4
call fcn.004962f0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x451a66
mov word [ebp - 0x34], 0x74
mov eax, dword [ebp - 0x14]
call fcn.00451ca8
mov word [ebp - 0x34], 0x68
mov esi, dword [ebp - 0x14]
jmp 0x451a69
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x588]
lea edx, [ebp - 0x988]
mov eax, esi
call fcn.00451d6c
test al, al
je 0x451adc
push 8
call fcn.004962f0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x451aba
mov word [ebp - 0x34], 0x8c
mov edi, esi
mov edx, dword [ebp - 0x18]
mov dword [edx], 0x4a8c54
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x4a8bec
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x80
mov eax, dword [ebp - 0x18]
jmp 0x451abd
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 0x204]
mov dword [ebx + edx*4 + 4], esi
mov ecx, dword [ebx + 0x204]
inc dword [ebx + 0x204]
mov dword [ebx + ecx*4 + 0x104], eax
jmp 0x451b02
mov edi, esi
mov dword [ebp - 0x20], edi
test edi, edi
je 0x451b02
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x34], 0xa4
mov edx, 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx]
mov word [ebp - 0x34], 0x98
lea edx, [ebp - 0x588]
push edx
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
sete al
and eax, 1
test al, al
je 0x451a0a
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_FindClose
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret