Function at 0x426352
Capabilities:
Enumerate files on windows

Disassembly:
push 0x1e0
mov eax, 0x4673da
call fcn.0044584f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1ec], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.004016e7
xor edx, edx
mov dword [ebp - 4], edx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
cmp byte [ecx + eax - 1], 0x5c
je 0x4263ba
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp byte [ecx + eax - 1], 0x2f
je 0x4263ba
mov esi, 0x480b38
push esi
call fcn.0040135c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a597
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1d4], edx
mov byte [ebp - 4], 1
mov ebx, edx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 4], 2
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x42642a
mov esi, edi
push 0x47d978
lea ecx, [ebp - 0x70]
call fcn.004016e7
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00426972
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
push 0
push 1
call fcn.004017ef
dec esi
jne 0x4263f1
mov ebx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.004072a0
mov byte [ebp - 4], 4
mov esi, str..js
push esi
call fcn.0040135c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.0040a597
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, eax
mov dword [ebp - 0x1d0], ecx
cmp ecx, 0xffffffff
jne 0x426489
xor bl, bl
jmp 0x426646
mov esi, dword [ebp - 0x1d0]
test byte [ebp - 0x1c8], 0x10
jne 0x426536
xor al, al
xor esi, esi
mov byte [ebp - 0x1c9], al
test edi, edi
jle 0x4264fa
mov eax, dword [ebp - 0x1ec]
push dword [eax + esi*4]
lea eax, [ebp - 0x19c]
push eax
call fcn.004643bb
pop ecx
pop ecx
test eax, eax
je 0x4264cc
inc esi
cmp esi, edi
jl 0x4264aa
jmp 0x4264f4
imul esi, esi, 0x18
lea eax, [ebp - 0x19c]
push eax
mov byte [ebp - 0x1c9], 1
add esi, ebx
call fcn.0040135c
pop ecx
push eax
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.00401879
mov al, byte [ebp - 0x1c9]
test al, al
jne 0x426530
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004016e7
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00426972
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
push 0
push 1
call fcn.004017ef
mov esi, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42648f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x1d8]
push esi
push dword [ebp - 0x1dc]
call fcn.00422244
pop ecx
pop ecx
jmp 0x4265d4
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040175b
push 0xffffffffffffffff
push 0
add esi, 0xffffffe8
lea ecx, [ebp - 0x58]
push esi
call fcn.0040a4f1
push 0
push 1
mov ecx, esi
call fcn.004017ef
mov dword [ebp - 0x1d8], esi
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00425e2e
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.004017ef
cmp dword [ebp - 0x1dc], esi
jne 0x426569
test edi, edi
jle 0x426644
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0x42663e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040175b
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040a4f1
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00425e2e
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.004017ef
xor eax, eax
add ebx, 0x18
dec edi
jne 0x4265e2
mov bl, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
push 0
push 1
call fcn.004017ef
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e8]
call fcn.00424097
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1dc]
call fcn.00424097
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004017ef
mov al, bl
call fcn.004457fe
ret