Function at 0x451000
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9218
mov eax, dword fs:[0]
push eax
sub esp, 0x7bc
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x7c4], edi
mov dword [edi + 0x10], 0
jb 0x451071
mov eax, dword [edi]
jmp 0x451073
mov eax, edi
push 0
push 0x63ee88
mov ecx, edi
mov byte [eax], 0
call fcn.00433660
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 1
test ebx, ebx
je 0x451356
cmp byte [ebx], 0
je 0x451356
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00579420
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00443520
push 1
push 0x63f8f0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
push 3
push 0x6422b8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
add esp, 0x34
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x53c]
push eax
call fcn.00433350
push 2
push 0x642438
lea ecx, [ebp - 0x53c]
mov dword [ebp - 4], 1
call fcn.00430c90
push 0x208
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00579420
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00579420
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x524]
add esp, 0x18
lea eax, [ebp - 0x53c]
cmp dword [ebp - 0x528], 0x10
cmovae eax, dword [ebp - 0x53c]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x7bc]
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4512c1
push 0x63f7d8
lea ecx, [ebp - 0x554]
call fcn.00433230
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x790], 0
jne 0x4511df
xor eax, eax
jmp 0x4511ff
lea eax, [ebp - 0x790]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4511f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x790]
push eax
lea ecx, [ebp - 0x554]
call fcn.00433520
cmp word [ebp - 0x31c], 0
jne 0x451220
xor ecx, ecx
jmp 0x45123f
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451230
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x554]
call fcn.00451610
cmp eax, 0xffffffff
jne 0x45126d
lea eax, [ebp - 0x7bc]
push eax
push esi
call ebx
test eax, eax
jne 0x4511d1
jmp 0x4512ab
cmp dword [ebp - 0x540], 8
lea eax, [ebp - 0x554]
cmovae eax, dword [ebp - 0x554]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00433230
lea eax, [ebp - 0x56c]
push eax
call fcn.00450820
push eax
mov ecx, edi
call fcn.004376e0
lea ecx, [ebp - 0x56c]
call fcn.004332e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 1
call fcn.004331f0
cmp dword [edi + 0x10], 0
je 0x451338
push 1
push 0x63f8f0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x4512ec
mov eax, dword [edi]
jmp 0x4512ee
mov eax, edi
push dword [edi + 0x10]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
add esp, 0x10
cmp byte [ebp - 0x114], 0
jne 0x451313
xor ecx, ecx
jmp 0x451329
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451320
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.00433660
mov ecx, dword [ebp - 0x528]
cmp ecx, 0x10
jb 0x451356
inc ecx
push ecx
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x53c]
call fcn.00430ec0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 8