Function at 0x45212a
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x46b98a
call fcn.0045c1cc
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 0x452510
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push 0x482c58
mov eax, dword [eax + 4]
push 0x46e458
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x4521a9
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406955
lea eax, [ebp - 0x6c]
push 0x4704f0
push eax
call fcn.0045c315
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 0x4521c9
lea ecx, [ebp - 0x20]
call fcn.00407c6b
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 0x4524ee
lea eax, [ebp - 0x50]
push 1
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fcfc
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 3
je 0x452202
push ebx
push 8
mov ecx, edi
call fcn.0040f860
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2e]
push ebx
push eax
push edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x46cb98
mov dword [ebp - 0x9c], 0x46cb90
call fcn.00416f93
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, ebx
jge 0x45223e
push eax
call fcn.0045ba2f
lea eax, [ebp - 0xd4]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fcfc
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 6
je 0x452264
push ebx
push 8
mov ecx, edi
call fcn.0040f860
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2d]
push ebx
push eax
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x46cb98
mov dword [ebp - 0x74], 0x46cb90
call fcn.00416f93
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 8
push eax
call esi
cmp eax, ebx
jge 0x4522a0
push eax
call fcn.0045ba2f
cmp dword [ebp - 0xb0], ebx
push 2
jne 0x452323
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040fcfc
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040f2c1
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x4522de
push eax
call fcn.0045ba2f
cmp byte [ebp - 0xd], bl
je 0x45245a
lea eax, [ebp - 0x94]
push eax
call fcn.0045256e
test al, al
pop ecx
je 0x45245a
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.0042a4a7
mov ecx, dword [ebp - 0x38]
call fcn.00453016
jmp 0x45245a
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040fcfc
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040f2c1
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x452351
push eax
call fcn.0045ba2f
cmp byte [ebp - 0xd], bl
je 0x45239e
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0042a6c9
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.004173c1
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.0040be02
jmp 0x45245a
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 0x4524a0
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 0x46e518
push eax
call dword [ecx]
test eax, eax
jl 0x4523f0
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 0x4524b7
cmp dword [ebp - 0x34], edi
jg 0x452438
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0042a6c9
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004173c1
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.0040be02
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x452449
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x45245a
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 0x4524ce
cmp edi, 0x80042001
je 0x4524ce
dec dword [ebp - 0x2c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0040be02
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0040be02
jmp 0x4521bc
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406955
lea eax, [ebp - 0x6c]
push 0x4704f0
push eax
call fcn.0045c315
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406955
lea eax, [ebp - 0x6c]
push 0x4704f0
push eax
call fcn.0045c315
lea ecx, [ebp - 0x48]
call fcn.0045c5b2
lea eax, [ebp - 0x48]
push 0x476310
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 0x46d3f4
call fcn.0045c315
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 0x45254e
cmp esi, 0x80042001
je 0x45254e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00407c6b
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x45252c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x45253d
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.0045c5b2
lea eax, [ebp - 0x48]
push 0x476310
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], 0x46d3f4
call fcn.0045c315