Function at 0x451db4
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x46b3aa
call fcn.0045bbb8
sub esp, 0x130
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 1
mov eax, dword [esi + 4]
lea edx, [ebp - 0x14]
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 0x45219a
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push 0x482c48
mov eax, dword [eax + 4]
push 0x46e420
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x451e33
push eax
lea ecx, [ebp - 0x6c]
call fcn.004069d8
lea eax, [ebp - 0x6c]
push 0x4704b8
push eax
call fcn.0045bd01
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x20], ebx
je 0x451e53
lea ecx, [ebp - 0x20]
call fcn.004560e0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
jl 0x452178
lea eax, [ebp - 0x50]
push 1
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fcbf
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 3
je 0x451e8c
push ebx
push 8
mov ecx, edi
call fcn.0040f823
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2e]
push ebx
push eax
push edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x46cb90
mov dword [ebp - 0x9c], 0x46cb88
call fcn.00416fcc
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, ebx
jge 0x451ec8
push eax
call fcn.0045b426
lea eax, [ebp - 0xd4]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fcbf
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 6
je 0x451eee
push ebx
push 8
mov ecx, edi
call fcn.0040f823
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2d]
push ebx
push eax
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x46cb90
mov dword [ebp - 0x74], 0x46cb88
call fcn.00416fcc
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 8
push eax
call esi
cmp eax, ebx
jge 0x451f2a
push eax
call fcn.0045b426
cmp dword [ebp - 0xb0], ebx
push 2
jne 0x451fad
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040fcbf
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040f284
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x451f68
push eax
call fcn.0045b426
cmp byte [ebp - 0xd], bl
je 0x4520e4
lea eax, [ebp - 0x94]
push eax
call fcn.004521f8
test al, al
pop ecx
je 0x4520e4
push dword [ebp + 8]
lea eax, [ebp - 0x94]
push ebx
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x24], esp
push 1
push eax
call fcn.0042a25d
mov ecx, dword [ebp - 0x38]
call fcn.00452ca0
jmp 0x4520e4
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040fcbf
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040f284
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x451fdb
push eax
call fcn.0045b426
cmp byte [ebp - 0xd], bl
je 0x452028
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0042a47f
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00417407
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 8
call fcn.0040be30
jmp 0x4520e4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0xd
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp eax, ebx
jl 0x45212a
mov eax, dword [ebp - 0x24]
push 8
pop edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x34], edi
mov ecx, dword [eax]
push edx
push 0x46e4e0
push eax
call dword [ecx]
test eax, eax
jl 0x45207a
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp eax, ebx
jl 0x452141
cmp dword [ebp - 0x34], edi
jg 0x4520c2
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0042a47f
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00417407
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
call fcn.0040be30
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4520d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4520e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push 0x1000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, 0x80042000
je 0x452158
cmp edi, 0x80042001
je 0x452158
dec dword [ebp - 0x2c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0040be30
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0040be30
jmp 0x451e46
push eax
lea ecx, [ebp - 0x6c]
call fcn.004069d8
lea eax, [ebp - 0x6c]
push 0x4704b8
push eax
call fcn.0045bd01
push eax
lea ecx, [ebp - 0x6c]
call fcn.004069d8
lea eax, [ebp - 0x6c]
push 0x4704b8
push eax
call fcn.0045bd01
lea ecx, [ebp - 0x48]
call fcn.0045bfa2
lea eax, [ebp - 0x48]
push 0x4762d8
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 0x46d3ec
call fcn.0045bd01
mov edx, dword [ebp - 0x2c]
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 0x4521d8
cmp esi, 0x80042001
je 0x4521d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004560e0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4521b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4521c7
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 - 0x48]
call fcn.0045bfa2
lea eax, [ebp - 0x48]
push 0x4762d8
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], 0x46d3ec
call fcn.0045bd01