Function at 0x10038980
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181096
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10004390
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.100e1080
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10038a15
call fcn.10002de0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
mov esi, dword [eax]
push ecx
push str.Backup_parent_folder_path__s_is_not_present
push 0x101a53f8
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1018a4d4]
call esi
add esp, 0x10
mov bl, 1
jmp 0x10038c92
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x10038a35
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10038a41
sub edx, esi
lea ecx, [ebp - 0x5c]
sar edx, 1
push edx
push eax
call fcn.10001c20
push 4
push str._bkp
lea ecx, [ebp - 0x5c]
call fcn.10001d30
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
push 0x101bb4e8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10019410
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2f4]
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
push ecx
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10038af5
call fcn.10002de0
push str.Error_in_getting_the_first_file._Invalid_handle_retured.
push 0x101a53f8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
xor bl, bl
jmp 0x10038c74
mov ebx, dword [ebp - 0x48]
nop dword [eax + eax]
mov ecx, 0x101bb564
lea eax, [ebp - 0x2c8]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10038b36
test dx, dx
je 0x10038b32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10038b36
add eax, 4
add ecx, 4
test dx, dx
jne 0x10038b10
xor eax, eax
jmp 0x10038b3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10038c55
mov eax, 0x101bb568
lea ecx, [ebp - 0x2c8]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10038b76
test dx, dx
je 0x10038b72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10038b76
add ecx, 4
add eax, 4
test dx, dx
jne 0x10038b50
xor eax, eax
jmp 0x10038b7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10038c55
test byte [ebp - 0x2f4], 0x10
je 0x10038c55
xor eax, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038bb0
sub ecx, edx
lea eax, [ebp - 0x2c8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10001c20
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
cmp ebx, 8
cmovae eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], 8
push eax
cmovae ecx, dword [ebp - 0x44]
push 0
call fcn.100042a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x10038c49
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.10004390
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100e1150
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x74]
add esp, 0xc
push ecx
cmp eax, dword [edi + 8]
je 0x10038c39
mov ecx, eax
call fcn.10004390
add dword [edi + 4], 0x18
jmp 0x10038c41
push eax
mov ecx, edi
call int.1000b5d0
lea ecx, [ebp - 0x74]
call fcn.10001bc0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10001bc0
lea eax, [ebp - 0x2f4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10038b00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x8c]
call fcn.10001bc0
lea ecx, [ebp - 0xa4]
call fcn.10001bc0
lea ecx, [ebp - 0x5c]
call fcn.10001bc0
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret