Function at 0x10004b60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018cce6
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x101f62b4]
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 ebx, edx
mov esi, ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.10002700
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.100fd870
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10004bf5
call fcn.1004cb70
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
mov esi, dword [eax]
push ecx
push str.Backup_parent_folder_path__s_is_not_present
push 0x101aee58
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x10
mov bl, 1
jmp 0x10004f5a
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x10004c15
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 0x10004c21
sub edx, esi
lea ecx, [ebp - 0x44]
sar edx, 1
push edx
push eax
call fcn.10001d60
push 4
push str._bkp
lea ecx, [ebp - 0x44]
call fcn.10001e70
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
push 0x101afdb8
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.1000b090
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2f4]
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push ecx
cmovae eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x2f8], eax
cmp eax, 0xffffffff
jne 0x10004cd1
call fcn.1004cb70
push str.Error_in_getting_the_first_file._Invalid_handle_retured.
push 0x101aee58
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
xor bl, bl
jmp 0x10004ed9
mov esi, dword [ebp - 0x2f8]
nop word [eax + eax]
mov ecx, 0x101afe34
lea eax, [ebp - 0x2c8]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10004d16
test dx, dx
je 0x10004d12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10004d16
add eax, 4
add ecx, 4
test dx, dx
jne 0x10004cf0
xor eax, eax
jmp 0x10004d1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10004eba
mov eax, 0x101afe38
lea ecx, [ebp - 0x2c8]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10004d56
test dx, dx
je 0x10004d52
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10004d56
add ecx, 4
add eax, 4
test dx, dx
jne 0x10004d30
xor eax, eax
jmp 0x10004d5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10004eba
test byte [ebp - 0x2f4], 0x10
je 0x10004eba
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004d90
sub ecx, edx
lea eax, [ebp - 0x2c8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001d60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
cmovae eax, edi
mov edi, dword [ebp - 0x18]
cmp edi, 8
mov edx, dword [ebp - 0x1c]
push eax
cmovae ecx, esi
push 0
call fcn.1000b470
add esp, 0xc
cmp eax, 0xffffffff
je 0x10004e79
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002700
push 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.100fd940
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x8c]
add esp, 0xc
push ecx
cmp eax, dword [ebx + 8]
je 0x10004e2a
mov ecx, eax
call fcn.10002700
add dword [ebx + 4], 0x18
jmp 0x10004e32
push eax
mov ecx, ebx
call fcn.1000b320
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x10004e73
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004e69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fae
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edi, 8
jb 0x10004eb1
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x10004ea7
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fae
push edi
push esi
call fcn.1015cbd5
add esp, 8
mov esi, dword [ebp - 0x2f8]
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x2f4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10004ce0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10004f13
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004f09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fae
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], 7
cmp eax, 8
jb 0x10004f5a
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10004f50
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fae
push ecx
push edi
call fcn.1015cbd5
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x10004f90
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004f86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fae
push edx
push ecx
call fcn.1015cbd5
add esp, 8
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.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
int3