Function at 0x100351c7
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x154], eax
jmp 0x100351ec
mov eax, dword [ebp - 0x154]
add eax, 0x52
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 8]
add eax, 0x166c
cmp dword [ebp - 0x154], eax
ja 0x10035873
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0x1b7d
ja 0x1003528a
cmp dword [ebp - 0x190], 0x1b7d
je 0x10035533
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
sub dword [ebp - 0x194], 0x1991
je 0x1003550f
sub dword [ebp - 0x194], 0x52
je 0x1003549c
sub dword [ebp - 0x194], 0x52
je 0x10035492
sub dword [ebp - 0x194], 0x52
je 0x100354b0
sub dword [ebp - 0x194], 0x52
je 0x10035527
sub dword [ebp - 0x194], 0x52
je 0x1003586b
jmp 0x1003586e
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x198], eax
sub dword [ebp - 0x198], 0x2560
je 0x100354be
sub dword [ebp - 0x198], 0x1538
je 0x1003556c
sub dword [ebp - 0x198], 0x52
je 0x100352de
sub dword [ebp - 0x198], 0x52
je 0x1003557b
sub dword [ebp - 0x198], 0x52
je 0x100355bf
jmp 0x1003586e
push 0x2e
pop eax
mov word [ebp - 0x147], ax
push 0x2a
pop eax
mov word [ebp - 0x146], ax
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov edi, dword [ebp + 0xc]
add edi, 0x28
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
inc eax
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x19c]
mov al, byte [eax]
mov byte [ebp - 0x1a1], al
inc dword [ebp - 0x19c]
cmp byte [ebp - 0x1a1], 0
jne 0x1003532f
mov eax, dword [ebp - 0x19c]
sub eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
add eax, 4
push eax
call fcn.1000361d
pop ecx
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1ac]
mov al, byte [eax]
mov byte [ebp - 0x1b5], al
mov eax, dword [ebp - 0x1b0]
mov cl, byte [ebp - 0x1b5]
mov byte [eax], cl
mov eax, dword [ebp - 0x1ac]
inc eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1b0]
inc eax
mov dword [ebp - 0x1b0], eax
cmp byte [ebp - 0x1b5], 0
jne 0x100353b0
lea eax, [ebp - 0x148]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1bc]
mov al, byte [eax]
mov byte [ebp - 0x1c1], al
inc dword [ebp - 0x1bc]
cmp byte [ebp - 0x1c1], 0
jne 0x10035407
mov eax, dword [ebp - 0x1bc]
sub eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x14c]
dec eax
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov al, byte [eax + 1]
mov byte [ebp - 0x1d1], al
inc dword [ebp - 0x1d0]
cmp byte [ebp - 0x1d1], 0
jne 0x1003544f
mov edi, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1cc]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1003586e
mov ecx, 0x10035533
jmp 0x1003586e
push dword [ebp + 8]
push esi
call dword [eax + 0x30]
test eax, eax
jns 0x1003556c
jmp 0x1003586e
push ecx
push ecx
push 0x1003554d
push esi
push eax
jmp 0x1003586e
push 0
push dword [ebp + 0x10]
push 0x2497
call fcn.10024407
add esp, 0xc
mov dword [ebp - 0x180], eax
mov al, byte [ebp - 0x180]
mov byte [ebp - 0x15d], al
mov al, byte [ebp - 0x15d]
mov byte [ebp - 0x14d], al
movzx eax, byte [ebp - 0x14d]
test eax, eax
je 0x1003550a
mov eax, dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
and dword [eax], 0
jmp 0x1003586e
fld xword [edi + 0x56befec9]
push dword [ebp + 0x14]
mov esi, ecx
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [ebp + 0xc]
jmp 0x1003586e
call fcn.100237f2
pop esi
pop ebp
jmp 0x1003586e
mov dword [ebp - 0x154], 0x1b7d
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov dword [ebp - 0x154], 0x1b7d
mov al, byte [0xd1c240c0]
and ebx, edx
adc dword [ebp + 0x8600062], edi
sar dword [edi + 0x302e966], 0
add byte [edx + 0x2a], ch
push 0x2a
pop eax
mov word [ebp - 0x148], ax
jmp 0x1003586e
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x100355ba
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x16c], eax
push dword [ebp - 0x16c]
call fcn.100351b3
pop ecx
jmp 0x10035873
jmp 0x1003586e
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x170], eax
push dword [ebp - 0x170]
call fcn.100351b3
pop ecx
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10035830
movsx eax, byte [ebp - 0x114]
cmp eax, 0x2e
jne 0x10035600
jmp 0x100355d7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
inc eax
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1d8]
mov al, byte [eax]
mov byte [ebp - 0x1dd], al
inc dword [ebp - 0x1d8]
cmp byte [ebp - 0x1dd], 0
jne 0x10035619
mov eax, dword [ebp - 0x1d8]
sub eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
inc eax
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1e8]
mov al, byte [eax]
mov byte [ebp - 0x1ed], al
inc dword [ebp - 0x1e8]
cmp byte [ebp - 0x1ed], 0
jne 0x10035661
mov eax, dword [ebp - 0x1e8]
sub eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [ebp - 0x1e4]
lea eax, [ecx + eax + 1]
push eax
call fcn.1000361d
pop ecx
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1f8]
mov al, byte [eax]
mov byte [ebp - 0x201], al
mov eax, dword [ebp - 0x1fc]
mov cl, byte [ebp - 0x201]
mov byte [eax], cl
mov eax, dword [ebp - 0x1f8]
inc eax
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1fc]
inc eax
mov dword [ebp - 0x1fc], eax
cmp byte [ebp - 0x201], 0
jne 0x100356dd
lea eax, [ebp - 0x114]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x208]
mov al, byte [eax]
mov byte [ebp - 0x20d], al
inc dword [ebp - 0x208]
cmp byte [ebp - 0x20d], 0
jne 0x10035734
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x164]
dec eax
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov al, byte [eax + 1]
mov byte [ebp - 0x21d], al
inc dword [ebp - 0x21c]
cmp byte [ebp - 0x21d], 0
jne 0x1003577c
mov edi, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x218]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0x164]
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 0xc]
push 0x1bbe
call fcn.100278f0
add esp, 0x10
mov dword [ebp - 0x184], eax
movzx eax, byte [ebp - 0x184]
test eax, eax
jne 0x1003580c
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x178], eax
push dword [ebp - 0x178]
call fcn.100351b3
pop ecx
and dword [ebp - 0x164], 0
jmp 0x100355d7
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x17c], eax
push dword [ebp - 0x17c]
call fcn.100351b3
pop ecx
and dword [ebp - 0x164], 0
jmp 0x100355d7
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x7402
call fcn.10028b28
pop ecx
mov dword [ebp - 0x188], eax
push dword [ebp - 0x188]
push dword [ebp + 0xc]
push 0x212c
call fcn.1003015f
add esp, 0xc
mov dword [ebp - 0x18c], eax
jmp 0x1003586e
ret 0x10
jmp 0x100351dd
pop edi
pop esi
leave
ret