Function at 0x42c261
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x464d46
call fcn.004571ec
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 0x42c657
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push 0x47e220
mov eax, dword [eax + 4]
push 0x46b938
mov eax, dword [eax + esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x42c2e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00411aa6
lea eax, [ebp - 0x6c]
push 0x46f9c0
push eax
call fcn.00457c2c
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 0x42c300
lea ecx, [ebp - 0x20]
call fcn.00417cf9
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 0x42c62d
lea eax, [ebp - 0x50]
push 1
push eax
lea ecx, [ebp - 0x20]
call fcn.00417bd2
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 3
je 0x42c339
push ebx
push 8
mov ecx, edi
call fcn.0041894f
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2e]
push ebx
push eax
push edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x469494
mov dword [ebp - 0x9c], 0x46948c
call fcn.00410de9
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, ebx
jge 0x42c375
push eax
call fcn.00451dc4
lea eax, [ebp - 0xd4]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.00417bd2
mov edi, eax
cmp word [edi], 8
mov byte [ebp - 4], 6
je 0x42c39b
push ebx
push 8
mov ecx, edi
call fcn.0041894f
mov edi, dword [edi + 8]
lea eax, [ebp - 0x2d]
push ebx
push eax
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x469494
mov dword [ebp - 0x74], 0x46948c
call fcn.00410de9
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 8
push eax
call esi
cmp eax, ebx
jge 0x42c3d7
push eax
call fcn.00451dc4
cmp dword [ebp - 0xb0], ebx
push 2
jne 0x42c45a
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x20]
push eax
call fcn.00417bd2
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004187cd
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x42c415
push eax
call fcn.00451dc4
cmp byte [ebp - 0xd], bl
je 0x42c591
lea eax, [ebp - 0x94]
push eax
call fcn.0042c6b5
test al, al
pop ecx
je 0x42c591
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.00405b24
mov ecx, dword [ebp - 0x38]
call fcn.0042d16d
jmp 0x42c591
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x20]
push eax
call fcn.00417bd2
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004187cd
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x42c488
push eax
call fcn.00451dc4
cmp byte [ebp - 0xd], bl
je 0x42c4d5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004118d8
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00405610
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.004060f2
jmp 0x42c591
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 0x42c5df
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 0x46ba48
push eax
call dword [ecx]
test eax, eax
jl 0x42c527
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 0x42c5f6
cmp dword [ebp - 0x34], edi
jg 0x42c56f
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004118d8
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00405610
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.004060f2
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x42c580
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x42c591
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 0x42c60d
cmp edi, 0x80042001
je 0x42c60d
cmp edi, 0x80004004
je 0x42c60d
dec dword [ebp - 0x2c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.004060f2
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.004060f2
jmp 0x42c2f3
push eax
lea ecx, [ebp - 0x6c]
call fcn.00411aa6
lea eax, [ebp - 0x6c]
push 0x46f9c0
push eax
call fcn.00457c2c
push eax
lea ecx, [ebp - 0x6c]
call fcn.00411aa6
lea eax, [ebp - 0x6c]
push 0x46f9c0
push eax
call fcn.00457c2c
lea ecx, [ebp - 0x48]
call fcn.00457b55
lea eax, [ebp - 0x48]
push 0x46e9c8
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 0x469bcc
call fcn.00457c2c
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 0x42c695
cmp esi, 0x80042001
je 0x42c695
cmp esi, 0x80004004
je 0x42c695
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00417cf9
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42c673
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x42c684
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.00457b55
lea eax, [ebp - 0x48]
push 0x46e9c8
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], 0x469bcc
call fcn.00457c2c