Function at 0x450567
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x468b7b
call fcn.0045962c
sub esp, 0xfc
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 1
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push str.OPTYPE_SHELL
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x38]
test eax, eax
jl 0x45085b
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x480c38
mov eax, dword [eax + 4]
push 0x46c388
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, edi
jge 0x4505ec
push eax
lea ecx, [ebp - 0xb0]
call fcn.004069b6
lea eax, [ebp - 0xb0]
push 0x46e3c0
push eax
call fcn.00459775
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x18], edi
je 0x45060c
lea ecx, [ebp - 0x18]
call fcn.00407ceb
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
jl 0x450839
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fd27
mov ebx, eax
push 8
mov byte [ebp - 4], 3
pop edi
cmp word [ebx], di
je 0x450647
push 0
push edi
mov ecx, ebx
call fcn.0040f88b
mov ebx, dword [ebx + 8]
lea eax, [ebp - 0x21]
push 0
push eax
push ebx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x46ab58
mov dword [ebp - 0x74], 0x46ab50
call fcn.00416e44
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call esi
test eax, eax
jge 0x450681
push eax
call fcn.00458e98
lea eax, [ebp - 0xc8]
push 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fd27
mov ebx, eax
cmp word [ebx], di
mov byte [ebp - 4], 6
je 0x4506a7
push 0
push edi
mov ecx, ebx
call fcn.0040f88b
mov ebx, dword [ebx + 8]
xor edi, edi
lea eax, [ebp - 0x22]
push edi
push eax
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x46ab58
mov dword [ebp - 0x4c], 0x46ab50
call fcn.00416e44
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 8
push eax
call esi
cmp eax, edi
jge 0x4506df
push eax
call fcn.00458e98
cmp dword [ebp - 0x88], edi
push 2
jne 0x450757
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040fd27
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040f2ec
mov bl, al
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, edi
jge 0x45071c
push eax
call fcn.00458e98
test bl, bl
je 0x4507d4
lea eax, [ebp - 0x6c]
push eax
call fcn.004508ba
test al, al
pop ecx
je 0x4507d4
push dword [ebp + 8]
lea eax, [ebp - 0x6c]
push edi
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x44], esp
push 1
push eax
call fcn.00429d4f
mov ecx, dword [ebp - 0x28]
call fcn.00451362
jmp 0x4507d4
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040fd27
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040f2ec
mov bl, al
lea eax, [ebp - 0xac]
neg bl
sbb bl, bl
push eax
inc bl
mov byte [ebp - 4], 8
call esi
cmp eax, edi
jge 0x450790
push eax
call fcn.00458e98
test bl, bl
je 0x4507d4
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00429edd
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0041726a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 8
call fcn.0040bf10
mov eax, dword [ebp + 8]
push 0x1000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, eax
cmp ebx, 0x80042000
je 0x450819
cmp ebx, 0x80042001
je 0x450819
dec dword [ebp - 0x20]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.0040bf10
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0040bf10
xor edi, edi
jmp 0x4505ff
lea ecx, [ebp - 0x38]
call fcn.00459a12
lea eax, [ebp - 0x38]
push 0x4741f0
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], 0x46b39c
call fcn.00459775
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
shl edx, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, 0x80042000
je 0x45089a
cmp esi, 0x80042001
je 0x45089a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00407ceb
mov eax, dword [ebp - 0x1c]
and byte [ebp - 4], 0
cmp eax, edi
je 0x450878
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x450889
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
lea ecx, [ebp - 0x38]
call fcn.00459a12
lea eax, [ebp - 0x38]
push 0x4741f0
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], 0x46b39c
call fcn.00459775