Function at 0x451069
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x469a62
call fcn.0045a480
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 0x45144f
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push 0x481c48
mov eax, dword [eax + 4]
push 0x46d3e8
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x4510e8
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406933
lea eax, [ebp - 0x6c]
push 0x46f440
push eax
call fcn.0045a5c9
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 0x451108
lea ecx, [ebp - 0x20]
call fcn.004553c0
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 0x45142d
lea eax, [ebp - 0x50]
push 1
push eax
lea ecx, [ebp - 0x20]
call fcn.004100a5
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 3
je 0x451141
push ebx
push 8
mov ecx, edi
call fcn.0040fc09
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2e]
push ebx
push eax
push edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x46bb80
mov dword [ebp - 0x9c], 0x46bb78
call fcn.00416d3d
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, ebx
jge 0x45117d
push eax
call fcn.00459ced
lea eax, [ebp - 0xd4]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.004100a5
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 6
je 0x4511a3
push ebx
push 8
mov ecx, edi
call fcn.0040fc09
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2d]
push ebx
push eax
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x46bb80
mov dword [ebp - 0x74], 0x46bb78
call fcn.00416d3d
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 8
push eax
call esi
cmp eax, ebx
jge 0x4511df
push eax
call fcn.00459ced
cmp dword [ebp - 0xb0], ebx
push 2
jne 0x451262
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x20]
push eax
call fcn.004100a5
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040f671
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x45121d
push eax
call fcn.00459ced
cmp byte [ebp - 0xd], bl
je 0x451399
lea eax, [ebp - 0x94]
push eax
call fcn.004514ad
test al, al
pop ecx
je 0x451399
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.00429f19
mov ecx, dword [ebp - 0x38]
call fcn.00451f55
jmp 0x451399
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x20]
push eax
call fcn.004100a5
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040f671
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x451290
push eax
call fcn.00459ced
cmp byte [ebp - 0xd], bl
je 0x4512dd
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0042a0a7
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00417191
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.0040c1bb
jmp 0x451399
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 0x4513df
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 0x46d4a8
push eax
call dword [ecx]
test eax, eax
jl 0x45132f
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 0x4513f6
cmp dword [ebp - 0x34], edi
jg 0x451377
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0042a0a7
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00417191
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.0040c1bb
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x451388
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x451399
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 0x45140d
cmp edi, 0x80042001
je 0x45140d
dec dword [ebp - 0x2c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0040c1bb
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0040c1bb
jmp 0x4510fb
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406933
lea eax, [ebp - 0x6c]
push 0x46f440
push eax
call fcn.0045a5c9
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406933
lea eax, [ebp - 0x6c]
push 0x46f440
push eax
call fcn.0045a5c9
lea ecx, [ebp - 0x48]
call fcn.0045a85c
lea eax, [ebp - 0x48]
push 0x475230
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 0x46c3c4
call fcn.0045a5c9
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 0x45148d
cmp esi, 0x80042001
je 0x45148d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004553c0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x45146b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x45147c
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.0045a85c
lea eax, [ebp - 0x48]
push 0x475230
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], 0x46c3c4
call fcn.0045a5c9