Function at 0x41dc40
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f27
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x4754f4]
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 eax, dword [ebp + 8]
push 0x1fe
xor ebx, ebx
lea edx, [ebp - 0x212]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x8dc], eax
mov word [ebp - 0x214], cx
call fcn.0042c300
add esp, 0xc
push ebx
push 5
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x46dbb8
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x684]
push edx
lea edi, [ebp - 0x214]
call fcn.00406610
push 6
mov eax, 0x4671a8
lea ecx, [ebp - 0x684]
mov dword [ebp - 4], ebx
call fcn.004097e0
cmp dword [ebp - 0x66c], 8
mov eax, dword [ebp - 0x680]
jae 0x41dcf6
lea eax, [ebp - 0x680]
lea ecx, [ebp - 0x8d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8d8], eax
cmp eax, 0xffffffff
je 0x41e0ad
push 0x206
lea eax, [ebp - 0x622]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x624], dx
call fcn.0042c300
lea ecx, [ebp - 0x8a8]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x624]
push 0x466d00
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x630], eax
mov word [ebp - 0x628], ax
add esp, 0x1c
lea eax, [ebp - 0x644]
mov ecx, 0x14
lea edx, [ebp - 0x624]
push eax
mov word [ebp - 0x634], cx
mov dword [ebp - 0x62e], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x62a], ebx
mov dword [ebp - 0x63c], edx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x640], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp - 0x664]
push ecx
lea edi, [ebp - 0x8a8]
call fcn.00406610
push 4
push str..fsv
xor eax, eax
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 1
call fcn.00408450
push eax
push ebx
lea edx, [ebp - 0x644]
push edx
lea eax, [ebp - 0x664]
push eax
call fcn.004067d0
mov esi, eax
lea ecx, [ebp - 0x664]
cmp ecx, esi
je 0x41de96
mov edi, 8
cmp dword [ebp - 0x64c], edi
jb 0x41de30
mov edx, dword [ebp - 0x660]
push edx
call fcn.00425770
add esp, 4
xor eax, eax
mov dword [ebp - 0x64c], 7
mov dword [ebp - 0x650], ebx
mov word [ebp - 0x660], ax
cmp dword [esi + 0x18], edi
lea edi, [esi + 4]
jae 0x41de6b
mov eax, dword [esi + 0x14]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x660]
push edi
push edx
call fcn.00421450
add esp, 0xc
jmp 0x41de75
mov eax, dword [edi]
mov dword [ebp - 0x660], eax
mov dword [edi], ebx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x650], ecx
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x64c], edx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [edi], ax
mov esi, 8
cmp dword [ebp - 0x62c], esi
jb 0x41deb2
mov ecx, dword [ebp - 0x640]
push ecx
call fcn.00425770
add esp, 4
xor edx, edx
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], ebx
mov word [ebp - 0x640], dx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x644], ebx
je 0x41df16
push 3
lea ecx, [ebp - 0x8e0]
call fcn.0044fc00
mov eax, dword [ebp - 0x644]
cmp dword [eax + 4], ebx
je 0x41df02
nop
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x41def0
mov edx, dword [ebp - 0x644]
lea ecx, [ebp - 0x8e0]
mov dword [edx + 4], ebx
call fcn.0044fc40
mov eax, dword [ebp - 0x644]
push eax
call fcn.00425770
push 0x206
lea edx, [ebp - 0x41a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x41c], cx
call fcn.0042c300
mov ecx, dword [ebp - 0x660]
add esp, 0x10
cmp dword [ebp - 0x64c], esi
jae 0x41df54
lea ecx, [ebp - 0x660]
mov eax, dword [ebp - 0x8dc]
cmp dword [eax + 0x1c], esi
jb 0x41df64
mov eax, dword [eax + 8]
jmp 0x41df67
add eax, 8
push ecx
push eax
lea eax, [ebp - 0x41c]
push 0x466e74
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x630], eax
mov word [ebp - 0x628], ax
add esp, 0x10
lea eax, [ebp - 0x644]
mov ecx, 0x14
lea edx, [ebp - 0x41c]
push eax
mov word [ebp - 0x634], cx
mov dword [ebp - 0x62e], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x62a], ebx
mov dword [ebp - 0x63c], edx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x640], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0x64c], esi
jb 0x41e009
mov ecx, dword [ebp - 0x660]
push ecx
call fcn.00425770
add esp, 4
xor edx, edx
mov dword [ebp - 0x64c], 7
mov dword [ebp - 0x650], ebx
mov word [ebp - 0x660], dx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x664], ebx
je 0x41e06c
push 3
lea ecx, [ebp - 0x8e4]
call fcn.0044fc00
mov eax, dword [ebp - 0x664]
cmp dword [eax + 4], ebx
je 0x41e058
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x41e046
mov edx, dword [ebp - 0x664]
lea ecx, [ebp - 0x8e4]
mov dword [edx + 4], ebx
call fcn.0044fc40
mov eax, dword [ebp - 0x664]
push eax
call fcn.00425770
mov edx, dword [ebp - 0x8d8]
add esp, 4
lea ecx, [ebp - 0x8d4]
push ecx
push edx
mov dword [ebp - 0x664], ebx
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41dd13
mov eax, dword [ebp - 0x8d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x66c], 8
jb 0x41e0cc
mov ecx, dword [ebp - 0x680]
push ecx
call fcn.00425770
add esp, 4
lea eax, [ebp - 0x684]
xor edx, edx
push eax
mov dword [ebp - 0x66c], 7
mov dword [ebp - 0x670], ebx
mov word [ebp - 0x680], dx
call fcn.00409010
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.00420d00
mov esp, ebp
pop ebp
ret 4