Function at 0x4062f3
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429c8f
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x43637c]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x43637c]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edi
call fcn.00413395
pop ecx
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x298], ebx
cmp eax, ebx
je 0x406364
mov esi, eax
call fcn.00405336
mov dword [esp + 0x14], eax
jmp 0x406368
mov dword [esp + 0x14], ebx
or dword [esp + 0x298], 0xffffffff
cmp dword [esp + 0x14], ebx
jne 0x40637d
xor eax, eax
jmp 0x40654d
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
mov edi, 0xfde9
push edi
call esi
xor ecx, ecx
push 2
pop edx
mov dword [esp + 0x1c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
pop ecx
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x4063c0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x406376
push dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push dword [esp + 0x1c]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push ebx
push edi
call esi
test eax, eax
jne 0x4063e5
push dword [esp + 0x18]
call fcn.00412f89
pop ecx
jmp 0x406376
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4063ec
sub eax, edx
sar eax, 1
lea esi, [eax + 3]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
pop ecx
push dword [esp + 0x18]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x406428
call fcn.00412f89
pop ecx
jmp 0x4063b4
push esi
push eax
call fcn.0041373a
push 0x42f990
push esi
push dword [esp + 0x30]
call fcn.004136bd
add esp, 0x18
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [esp + 0x34]
push ecx
push eax
mov dword [esp + 0x28], eax
call esi
cmp eax, ebx
je 0x40651e
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x24]
call esi
jmp 0x406516
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [esp + 0x74]
push eax
push ebx
push edi
call esi
push eax
mov dword [esp + 0x30], eax
call fcn.00411d83
pop ecx
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x406573
push ebx
push ebx
push dword [esp + 0x34]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x74]
push eax
push ebx
push edi
call esi
test eax, eax
je 0x4064fd
mov ebx, dword [esp + 0x24]
call fcn.004010c3
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x29c], 1
call fcn.004052a5
or dword [esp + 0x298], 0xffffffff
cmp dword [esp + 0x28], 0
je 0x4064fb
push dword [esp + 0x28]
call fcn.00412f89
pop ecx
xor ebx, ebx
push dword [esp + 0x24]
call fcn.00412f89
pop ecx
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40647a
push dword [esp + 0x1c]
call fcn.00412f89
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 8]
cmp eax, 1
jbe 0x40654b
mov ecx, dword [esp + 0x30]
dec eax
push eax
push ebx
push esi
call fcn.00406663
mov eax, esi
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00412c50
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x20], ebx
je 0x406583
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x1c]
call fcn.00412f89
push dword [esp + 0x1c]
call fcn.00412f89
pop ecx
jmp 0x406425