Function at 0x45184c
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, 0x4a8384
call fcn.00498090
cmp byte [ebx], 0
je 0x45187a
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
mov eax, edx
jmp 0x451b03
mov byte [ebx], 1
xor ecx, ecx
mov dword [ebx + 0x204], ecx
push 0x32dc
call fcn.00496298
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4518b0
mov word [ebp - 0x34], 0x14
mov eax, dword [ebp - 4]
call fcn.00454b5c
mov word [ebp - 0x34], 8
mov edx, dword [ebp - 4]
jmp 0x4518b3
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], edx
push 4
call fcn.00496298
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x4518ef
mov word [ebp - 0x34], 0x2c
mov edx, dword [ebp - 8]
mov dword [edx], 0x4a8c14
mov ecx, dword [ebp - 8]
mov dword [ecx], 0x4a8c48
mov word [ebp - 0x34], 0x20
mov eax, dword [ebp - 8]
jmp 0x4518f2
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.00496298
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45192d
mov word [ebp - 0x34], 0x44
mov eax, dword [ebp - 0xc]
call fcn.00455190
mov word [ebp - 0x34], 0x38
mov esi, dword [ebp - 0xc]
jmp 0x451930
mov esi, dword [ebp - 0xc]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], esi
push 8
call fcn.00496298
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x451974
mov word [ebp - 0x34], 0x5c
mov edi, esi
mov edx, dword [ebp - 0x10]
mov dword [edx], 0x4a8c14
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x4a8be0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x50
mov edx, dword [ebp - 0x10]
jmp 0x451977
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 str.Formats.fmt
lea eax, [ebp - 0x448]
call fcn.0040bd0c
push eax
call fcn.00497c60
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 0x451ae9
lea edx, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x988]
push ecx
call fcn.00497c60
add esp, 8
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x988]
call fcn.0040bd0c
push eax
call fcn.00497c60
add esp, 8
push 0x4b4
call fcn.00496298
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x451a36
mov word [ebp - 0x34], 0x74
mov eax, dword [ebp - 0x14]
call fcn.00451c78
mov word [ebp - 0x34], 0x68
mov esi, dword [ebp - 0x14]
jmp 0x451a39
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x588]
lea edx, [ebp - 0x988]
mov eax, esi
call fcn.00451d3c
test al, al
je 0x451aac
push 8
call fcn.00496298
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x451a8a
mov word [ebp - 0x34], 0x8c
mov edi, esi
mov edx, dword [ebp - 0x18]
mov dword [edx], 0x4a8c14
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x4a8bac
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x80
mov eax, dword [ebp - 0x18]
jmp 0x451a8d
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 0x451ad2
mov edi, esi
mov dword [ebp - 0x20], edi
test edi, edi
je 0x451ad2
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 0x4519da
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