Function at 0x100394e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100750c5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1044a964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0x10
lea edi, [ebp + 8]
mov dword [ebp - 4], 0
jb 0x10039533
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10039533
push 2
call fcn.100560e0
add esp, 4
jmp 0x10039791
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039538
sub ecx, edx
lea eax, [ecx + 3]
cmp eax, 0x104
jb 0x1003955a
push 0x26
call fcn.100560e0
add esp, 4
jmp 0x10039791
push 0x360
call fcn.100542fc
mov esi, eax
add esp, 4
test esi, esi
je 0x10039791
push 0
lea eax, [esi + 0x258]
push eax
push 0x104
push edi
lfence
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x1003977d
push 0
lea edi, [esi + 0x258]
push edi
call fcn.10050820
add esp, 8
cmp edi, eax
jae 0x100395b7
mov cl, byte [eax - 1]
cmp cl, 0x5c
je 0x100395b7
cmp cl, 0x3a
je 0x100395b7
mov byte [eax], 0x5c
inc eax
mov word [eax], 0x2a
lea eax, [esi + 0x110]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0x254], eax
cmp eax, 0xffffffff
je 0x10039776
mov dword [esi + 0x250], 1
cmp dword [esi + 0x250], 0
je 0x10039641
mov dword [esi + 0x250], 0
lea edi, [esi + 0x110]
push 0xffffffffffffffff
lea eax, [esi + 0x13c]
push eax
push 0x105
push esi
call fcn.1005be42
mov ecx, esi
mov byte [esi + 0x104], 0
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039620
mov eax, dword [edi]
sub ecx, edx
mov dword [esi + 0x108], ecx
test al, 0x40
je 0x1003967c
mov dword [esi + 0x10c], 0x2000
jmp 0x10039691
mov eax, dword [esi + 0x254]
cmp eax, 0xffffffff
jne 0x10039650
xor edx, edx
jmp 0x10039693
lea edi, [esi + 0x110]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100395fc
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
xor edx, edx
jmp 0x10039693
test al, 0x10
mov ecx, 0x4000
mov eax, 0x8000
cmovne eax, ecx
mov dword [esi + 0x10c], eax
mov edx, esi
test edx, edx
je 0x1003974d
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100396c0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10005040
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x10039702
movups xmm0, xmmword [ebp - 0x28]
mov edx, 0xf
mov byte [ebp - 0x28], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
add dword [ecx + 4], 0x18
jmp 0x1003970f
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.1000e780
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100395e3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003973e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397db
push edx
push ecx
call fcn.1004cb1a
add esp, 8
jmp 0x100395e3
mov eax, dword [esi + 0x254]
cmp eax, 0xffffffff
je 0x10039769
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
push esi
call fcn.100542e1
add esp, 4
xor esi, esi
jmp 0x10039798
mov eax, 2
jmp 0x10039782
mov eax, 0xc
push eax
call fcn.100560e0
push esi
call fcn.100542e1
add esp, 8
call fcn.100560cd
mov esi, dword [eax]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100397c8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100397be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397db
push edx
push ecx
call fcn.1004cb1a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10051faf
int3