Function at 0x10052e00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101580d6
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x101b90ec]
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, edx
mov dword [ebp - 0x698], edi
push ecx
lea eax, [ebp - 0x420]
push 0x10183a10
push eax
call fcn.10041b30
add esp, 0xc
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x694], ebx
cmp ebx, 0xffffffff
je 0x100530c1
lea eax, [ebp - 0x690]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100530c1
cmp word [ebp - 0x664], 0x2e
je 0x10052e70
mov ax, word [ebp - 0x662]
test ax, ax
je 0x10052e70
cmp ax, 0x2e
jne 0x10052eac
cmp word [ebp - 0x660], 0
je 0x10052e70
test byte [ebp - 0x690], 0x10
jne 0x10052e70
xor eax, eax
mov dword [ebp - 0x428], 7
xor bl, bl
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], ax
push eax
push 0x1018344c
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], eax
call fcn.10041f70
mov word [ebp - 0x424], 0
lea eax, [ebp - 0x664]
mov dword [ebp - 4], 1
push str..wnpf
push eax
call fcn.1012a5f7
add esp, 8
test eax, eax
je 0x10052f6c
lea eax, [ebp - 0x664]
mov byte [ebp - 0x424], bl
push eax
lea eax, [ebp - 0x218]
mov bl, 1
push 0x10183490
push eax
call fcn.10041b30
lea ecx, [ebp - 0x218]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10052f40
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 0xa]
cmp ecx, 0x208
jae 0x100530bc
xor eax, eax
mov word [ebp + ecx - 0x218], ax
lea eax, [ebp - 0x664]
push str..swnpf
push eax
call fcn.1012a5f7
add esp, 8
test eax, eax
je 0x10052fde
lea eax, [ebp - 0x664]
mov byte [ebp - 0x424], 1
push eax
lea eax, [ebp - 0x218]
push 0x10183490
push eax
call fcn.10041b30
lea ecx, [ebp - 0x218]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10052fb0
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 0xc]
cmp ecx, 0x208
jae 0x100530bc
xor eax, eax
mov word [ebp + ecx - 0x218], ax
jmp 0x10052fe6
test bl, bl
je 0x10053088
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10042070
lea ecx, [ebp - 0x218]
call fcn.10052930
mov esi, dword [edi]
cmp eax, 1
mov edi, dword [edi + 4]
sete byte [ebp - 0x423]
cmp esi, edi
je 0x1005306c
mov bx, word [ebp - 0x218]
nop dword [eax]
test bx, bx
jne 0x10053029
xor eax, eax
jmp 0x10053041
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10053032
sub eax, edx
sar eax, 1
cmp dword [esi + 0x14], 8
jb 0x1005304b
mov ecx, dword [esi]
jmp 0x1005304d
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
push dword [esi + 0x10]
push ecx
call fcn.1004b050
add esp, 0x10
test eax, eax
je 0x10053082
add esi, 0x1c
cmp esi, edi
jne 0x10053020
mov edi, dword [ebp - 0x698]
lea eax, [ebp - 0x43c]
push eax
mov ecx, edi
call fcn.100530f0
jmp 0x10053088
mov edi, dword [ebp - 0x698]
mov ebx, dword [ebp - 0x694]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x428]
cmp eax, 8
jb 0x10052e70
inc eax
lea ecx, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
call fcn.10042110
jmp 0x10052e70
call fcn.1010a6d4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
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.10109ec2
mov esp, ebp
pop ebp
ret