Function at 0x451240
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x46a022
call fcn.0045aa08
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 0x451626
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 0x4512bf
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406936
lea eax, [ebp - 0x6c]
push 0x46f440
push eax
call fcn.0045ab51
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 0x4512df
lea ecx, [ebp - 0x20]
call fcn.00455592
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 0x451604
lea eax, [ebp - 0x50]
push 1
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fcc4
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 3
je 0x451318
push ebx
push 8
mov ecx, edi
call fcn.0040f828
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.00416b4b
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, ebx
jge 0x451354
push eax
call fcn.0045a275
lea eax, [ebp - 0xd4]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fcc4
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 6
je 0x45137a
push ebx
push 8
mov ecx, edi
call fcn.0040f828
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.00416b4b
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 8
push eax
call esi
cmp eax, ebx
jge 0x4513b6
push eax
call fcn.0045a275
cmp dword [ebp - 0xb0], ebx
push 2
jne 0x451439
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040fcc4
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040f2a2
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x4513f4
push eax
call fcn.0045a275
cmp byte [ebp - 0xd], bl
je 0x451570
lea eax, [ebp - 0x94]
push eax
call fcn.00451684
test al, al
pop ecx
je 0x451570
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.00429d57
mov ecx, dword [ebp - 0x38]
call fcn.0045212c
jmp 0x451570
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040fcc4
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040f2a2
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x451467
push eax
call fcn.0045a275
cmp byte [ebp - 0xd], bl
je 0x4514b4
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00429f79
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00416f86
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.0040be47
jmp 0x451570
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 0x4515b6
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 0x451506
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 0x4515cd
cmp dword [ebp - 0x34], edi
jg 0x45154e
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00429f79
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00416f86
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.0040be47
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x45155f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x451570
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 0x4515e4
cmp edi, 0x80042001
je 0x4515e4
dec dword [ebp - 0x2c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0040be47
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0040be47
jmp 0x4512d2
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406936
lea eax, [ebp - 0x6c]
push 0x46f440
push eax
call fcn.0045ab51
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406936
lea eax, [ebp - 0x6c]
push 0x46f440
push eax
call fcn.0045ab51
lea ecx, [ebp - 0x48]
call fcn.0045adf2
lea eax, [ebp - 0x48]
push 0x475230
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 0x46c3c4
call fcn.0045ab51
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 0x451664
cmp esi, 0x80042001
je 0x451664
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00455592
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x451642
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x451653
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.0045adf2
lea eax, [ebp - 0x48]
push 0x475230
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], 0x46c3c4
call fcn.0045ab51