Function at 0x42e730
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532994
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5939f0]
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
mov dword [ebp - 0x218], edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.00426bf0
push 0xffffffffffffffff
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
push 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.004230e0
push 2
push 0x5854b4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004237e0
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x210]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x214], ebx
cmp ebx, 0xffffffff
je 0x42ecf0
nop dword [eax + eax]
mov ecx, 0x5850e8
lea eax, [ebp - 0x1e4]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e810
test dl, dl
je 0x42e80c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e810
add eax, 2
add ecx, 2
test dl, dl
jne 0x42e7f0
xor eax, eax
jmp 0x42e815
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ecd3
mov ecx, 0x5850ec
lea eax, [ebp - 0x1e4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e848
test dl, dl
je 0x42e844
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e848
add eax, 2
add ecx, 2
test dl, dl
jne 0x42e828
xor eax, eax
jmp 0x42e84d
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ecd3
test byte [ebp - 0x210], 0x10
je 0x42ecd3
cmp byte [ebp - 0x1e4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x42e881
xor ecx, ecx
jmp 0x42e899
lea ecx, [ebp - 0x1e4]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e890
sub ecx, edx
push ecx
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422fe0
push 0x5850e4
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.0042b750
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0042f5f0
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x42e8fa
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.00423390
mov eax, dword fs:[0x2c]
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x224], 0xf
cmovae esi, dword [ebp - 0x28]
mov ecx, dword [eax]
mov eax, dword [0x598d14]
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
cmp eax, dword [ecx + 4]
jle 0x42e96a
push 0x598d14
call fcn.0050a247
add esp, 4
cmp dword [0x598d14], 0xffffffff
jne 0x42e96a
call fcn.00427cc0
push 0x533cf0
call fcn.0050a5bb
add esp, 4
push 0x598d14
call fcn.0050a208
add esp, 4
push esi
push str.tempname__s
push 0
push 0x58516c
push 0x598d18
call fcn.00427da0
add esp, 0x14
push 1
push ecx
push 0x5850e8
lea ecx, [ebp - 0x28]
call fcn.00422ef0
cmp eax, 0xffffffff
jne 0x42e9d6
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x42e9ae
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00423390
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x42ecd3
inc eax
jmp 0x42ecc7
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42e9f3
mov eax, dword [ecx]
jmp 0x42e9f5
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.004230e0
call fcn.0042e5e0
add esp, 0x18
test al, al
lea eax, [ebp - 0x28]
jne 0x42ea74
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push str.not_version_dir__s
push 0
push 0x58516c
call fcn.00427d50
push eax
call fcn.00427da0
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp eax, 0x10
jb 0x42ea4c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00423390
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x42ecd3
inc eax
jmp 0x42ecc7
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push str.version_dir__s
push 0
push 0x58516c
call fcn.00427d50
push eax
call fcn.00427da0
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 8]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
add esp, 0x14
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
cmp esi, 0x10
push dword [ebp + 0x18]
cmovae ecx, dword [ebp - 0x28]
push eax
call fcn.00422e60
add esp, 8
test eax, eax
je 0x42ec91
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xb8]
call fcn.004230e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004230e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x74], 0xf
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.004230e0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 8
push eax
call fcn.0043b710
push 0x5850e4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00424110
push 0x5852f4
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.00423910
mov ecx, eax
call fcn.00424110
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42ebad
mov eax, dword [ecx]
jmp 0x42ebaf
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.004230e0
call fcn.00427780
add esp, 0x18
test eax, eax
je 0x42ebe1
lea eax, [ebp - 0xb8]
mov ecx, edi
push eax
call fcn.0042f240
jmp 0x42ec6d
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x238]
call fcn.00422d00
mov edi, dword [ebp - 0x224]
xor edx, edx
mov ebx, dword [ebp - 0x238]
xor esi, esi
cmp dword [ebp - 0x228], edx
jbe 0x42ec31
nop dword [eax + eax]
cmp edi, 0x10
lea ecx, [ebp - 0x238]
lea eax, [esi + 1]
cmovae ecx, ebx
cmp byte [edx + ecx], 0x2e
cmovne eax, esi
inc edx
mov esi, eax
cmp edx, dword [ebp - 0x228]
jb 0x42ec10
cmp edi, 0x10
jb 0x42ec46
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x238]
call fcn.00423390
cmp esi, 2
jle 0x42ec61
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00422d00
call fcn.004273f0
add esp, 0x18
mov edi, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x214]
lea ecx, [ebp - 0xd0]
call fcn.00422b60
lea ecx, [ebp - 0x88]
call fcn.00422b60
lea ecx, [ebp - 0xb8]
call fcn.0042ed70
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x42eca9
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00423390
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 2
cmp esi, 0x10
jb 0x42ecd3
lea eax, [esi + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00423390
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42e7e0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x42ed05
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00423390
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
cmp eax, 0x10
jb 0x42ed2c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00423390
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
cmp eax, 0x10
jb 0x42ed53
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00423390
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.0050a094
mov esp, ebp
pop ebp
ret