Function at 0x427af0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c87a
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.00430270
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x5c
lea ecx, [ebp - 0x5c]
push eax
call fcn.0042bb00
push eax
push 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042a2b0
mov esi, eax
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x427b91
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x427b76
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0042ce80
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.0042c6c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x250]
cmp eax, 0x10
jb 0x427bb3
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.0042ce80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], 0xf
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
call fcn.0042c2b0
push 2
push 0x5b1168
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.0042c490
cmp dword [ebp - 0x60], 0x10
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x428234
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ecx, 0x5b13dc
lea eax, [ebp - 0x21c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x427c40
test dl, dl
je 0x427c3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x427c40
add eax, 2
add ecx, 2
test dl, dl
jne 0x427c20
xor eax, eax
jmp 0x427c45
sbb eax, eax
or eax, 1
test eax, eax
je 0x4281e6
mov ecx, 0x5b13e0
lea eax, [ebp - 0x21c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x427c78
test dl, dl
je 0x427c74
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x427c78
add eax, 2
add ecx, 2
test dl, dl
jne 0x427c58
xor eax, eax
jmp 0x427c7d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4281e6
test byte [ebp - 0x248], 0x10
je 0x4281e6
cmp byte [ebp - 0x21c], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jne 0x427cb1
xor ecx, ecx
jmp 0x427cc9
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427cc0
sub ecx, edx
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0042c1b0
push 0x5b0c88
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.0042dbd0
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0042dce0
add esp, 4
mov eax, dword [ebp - 0x250]
cmp eax, 0x10
jb 0x427d26
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.0042ce80
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov edx, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push eax
call fcn.0042b980
add esp, 8
test eax, eax
jne 0x427f3a
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xd4], al
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xbc], al
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xd4]
call fcn.0042c2b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0042c2b0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x427dd3
mov eax, dword [ecx]
jmp 0x427dd5
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0042c2b0
call fcn.00429480
add esp, 0x18
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
test al, al
jne 0x427eaf
cmp dword [ecx + 0x14], 0x10
jb 0x427e20
mov eax, dword [ecx]
jmp 0x427e22
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0042c2b0
call fcn.00429610
add esp, 0x18
test al, al
je 0x427ea4
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.DeleteDir__s
push 0
push 0x5b063c
call fcn.00436780
push eax
call fcn.004367d0
push ecx
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x427e8a
mov eax, dword [ecx]
jmp 0x427e8c
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0042c2b0
call fcn.004359e0
add esp, 0x18
lea ecx, [ebp - 0xd4]
jmp 0x4281a1
cmp dword [ecx + 0x14], 0x10
jb 0x427eb9
mov eax, dword [ecx]
jmp 0x427ebb
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0042c2b0
call fcn.00429610
add esp, 0x18
test al, al
jne 0x427f21
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.verdir__s
push 0
push 0x5b063c
call fcn.00436780
push eax
call fcn.004367d0
add esp, 0x14
lea ecx, [ebp - 0xd4]
call fcn.004282c0
lea ecx, [ebp - 0x2c]
call fcn.0042a380
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0042a380
jmp 0x4281e6
lea eax, [ebp - 0xd4]
mov ecx, edi
push eax
call fcn.00429e20
lea ecx, [ebp - 0xd4]
jmp 0x4281a1
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xa4]
call fcn.0042c2b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0042c2b0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x427fbf
mov eax, dword [ecx]
jmp 0x427fc1
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0042c2b0
call fcn.00429480
add esp, 0x18
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
test al, al
jne 0x428099
cmp dword [ecx + 0x14], 0x10
jb 0x42800c
mov eax, dword [ecx]
jmp 0x42800e
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0042c2b0
call fcn.00429610
add esp, 0x18
test al, al
je 0x42819b
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.DeleteDir__s
push 0
push 0x5b063c
call fcn.00436780
push eax
call fcn.004367d0
push ecx
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42807a
mov eax, dword [ecx]
jmp 0x42807c
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0042c2b0
call fcn.004359e0
add esp, 0x18
jmp 0x42819b
cmp dword [ecx + 0x14], 0x10
jb 0x4280a3
mov eax, dword [ecx]
jmp 0x4280a5
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0042c2b0
call fcn.00429610
add esp, 0x18
test al, al
jne 0x42810b
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.verdir__s
push 0
push 0x5b063c
call fcn.00436780
push eax
call fcn.004367d0
add esp, 0x14
lea ecx, [ebp - 0xa4]
call fcn.004282c0
lea ecx, [ebp - 0x2c]
call fcn.0042a380
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0042a380
jmp 0x4281e6
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x104]
call fcn.0042c2b0
push 0x5b03e0
lea ecx, [ebp - 0xec]
call fcn.0042a340
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00428c80
add esp, 8
test al, al
je 0x428190
lea eax, [ebp - 0xa4]
mov ecx, edi
push eax
call fcn.00429e20
lea ecx, [ebp - 0x104]
call fcn.004282c0
lea ecx, [ebp - 0xa4]
call fcn.004282c0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4281bb
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0042ce80
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x4281e6
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0042ce80
lea eax, [ebp - 0x248]
push eax
push esi
call ebx
test eax, eax
jne 0x427c12
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [edi + 4]
lea eax, [ebp - 0x24c]
mov ecx, dword [edi]
sub edx, ecx
push eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x24c], fcn.00428c80
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 4]
push eax
call fcn.0042e810
add esp, 8
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x428249
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.0042ce80
mov eax, dword [ebp - 0x48]
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
cmp eax, 0x10
jb 0x428270
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0042ce80
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
cmp eax, 0x10
jb 0x428297
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ce80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret