Function at 0x4def80
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7e96
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x52d4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 0x59], 1
lea edi, [ebp - 0x58]
call fcn.0041caf0
mov dword [ebp - 4], 0
push 0x50f67f
lea ecx, [ebp - 0x2c]
call fcn.004011f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2c]
push eax
mov esi, dword [ebp - 0x2a0]
add esi, 0x348
lea ecx, [ebp - 0x30]
call fcn.00417490
cmp dword [ebp - 0x30], 0
jle 0x4df5de
mov byte [ebp - 0x5a], 1
mov byte [ebp - 0x5b], 1
mov ecx, dword [ebp - 0x2a0]
cmp dword [ecx + 0x310], 0
je 0x4df03b
mov edx, dword [ebp - 0x2a0]
cmp dword [edx + 0x310], 5
je 0x4df03b
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x348
call fcn.00407e70
mov byte [ebp - 0x5a], al
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x4df251
mov ecx, dword [ebp - 0x2a0]
cmp dword [ecx + 0x310], 5
jne 0x4df0d4
push 0
lea ecx, [ebp - 0xdc]
call fcn.004e04e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x2a0
call fcn.004032f0
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x178
call fcn.004032f0
push eax
push 0xb6
lea edx, [ebp - 0x68]
push edx
call fcn.004101b0
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.0048d7b4
mov byte [ebp - 0x60], 1
lea ecx, [ebp - 0xdc]
call fcn.00488ee0
mov byte [ebp - 0x5b], 0
mov cl, byte [ebp - 0x5b]
mov byte [ebp + 8], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdc]
call fcn.004e04a0
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x4df133
push 0
lea ecx, [ebp - 0x15c]
call fcn.004e04e0
mov byte [ebp - 4], 3
push 0xaf
lea ecx, [ebp - 0xe8]
call fcn.004027c0
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.0048d7b4
lea ecx, [ebp - 0x15c]
call fcn.00488ee0
cmp eax, 2
jne 0x4df124
mov byte [ebp - 0x5b], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.004e04a0
movzx ecx, byte [ebp - 0x5b]
cmp ecx, 1
jne 0x4df24f
push 0x50f68e
lea ecx, [ebp - 0x178]
call fcn.004011f0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x178]
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp - 0x2a0]
add eax, 0x2a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.004032b0
mov dword [ebp - 0x2a8], eax
lea ecx, [ebp - 0x271]
push ecx
mov esi, dword [ebp - 0x2a4]
call fcn.00418fb0
mov dword [ebp - 0x2ac], eax
call fcn.004195e0
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0x194]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x27c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00401230
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x280], esp
lea edx, [ebp - 0x178]
push edx
call fcn.00401230
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x198
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x284], esp
push ecx
mov ecx, edx
call fcn.00401230
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.0041df80
lea edi, [ebp - 0x58]
call fcn.0041cd40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.00401270
jmp 0x4df2a7
push 0
lea ecx, [ebp - 0x1fc]
call fcn.004e04e0
mov byte [ebp - 4], 7
push 0xb5
lea ecx, [ebp - 0x188]
call fcn.004027c0
lea eax, [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.0048d7b4
lea ecx, [ebp - 0x1fc]
call fcn.00488ee0
cmp eax, 2
jne 0x4df298
mov byte [ebp - 0x59], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1fc]
call fcn.004e04a0
movzx ecx, byte [ebp - 0x5a]
test ecx, ecx
je 0x4df2bb
movzx edx, byte [ebp - 0x5b]
test edx, edx
jne 0x4df49c
mov eax, dword [ebp - 0x2a0]
add eax, 0x198
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
call fcn.00401230
mov dword [ebp - 0x2c4], eax
lea ebx, [ebp - 0x58]
call fcn.0041e6c0
lea edi, [ebp - 0x58]
call fcn.0041cd40
mov ecx, dword [ebp - 0x2a0]
cmp dword [ecx + 0x310], 5
je 0x4df49c
push 0x510354
lea ecx, [ebp - 0x218]
call fcn.004012b0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x664
call fcn.00405e90
movzx edx, al
test edx, edx
jne 0x4df345
mov eax, dword [ebp - 0x2a0]
add eax, 0x664
push eax
lea ecx, [ebp - 0x218]
call fcn.00404ec0
jmp 0x4df35d
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x2a0
push ecx
lea ecx, [ebp - 0x218]
call fcn.00404ec0
lea ecx, [ebp - 0x218]
call fcn.00405e90
movzx edx, al
test edx, edx
jne 0x4df48d
lea ecx, [ebp - 0x218]
call fcn.004032f0
push eax
call fcn.004a5a4a
add esp, 4
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
add eax, 2
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00488736
add esp, 4
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x218]
call fcn.004032f0
push eax
mov ecx, dword [ebp - 0x240]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call fcn.004a8156
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp - 0x23c]
mov word [edx + ecx*2], ax
xor eax, eax
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp - 0x23c]
mov word [edx + ecx*2 + 2], ax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 3
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0
mov ecx, 0x14
mov word [ebp - 0x228], cx
mov dword [ebp - 0x226], 0
mov dword [ebp - 0x21e], 0
mov dword [ebp - 0x222], 0
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
push ecx
call fcn.00488741
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
call fcn.004012f0
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x2d8
call fcn.00405e90
movzx edx, al
test edx, edx
jne 0x4df5de
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x2d8
call fcn.004032f0
push eax
call fcn.004a5a4a
add esp, 4
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
add eax, 2
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00488736
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x2d8
call fcn.004032f0
push eax
mov ecx, dword [ebp - 0x26c]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x268]
push edx
call fcn.004a8156
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x268]
mov word [edx + ecx*2], ax
xor eax, eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x268]
mov word [edx + ecx*2 + 2], ax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 3
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], 0
mov ecx, 0x14
mov word [ebp - 0x254], cx
mov dword [ebp - 0x252], 0
mov dword [ebp - 0x24a], 0
mov dword [ebp - 0x24e], 0
lea edx, [ebp - 0x264]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
call fcn.00488741
add esp, 4
mov dl, byte [ebp - 0x59]
mov byte [ebp - 0x299], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401270
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x58]
push eax
call fcn.0041ccd0
mov al, byte [ebp - 0x299]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a58c9
mov esp, ebp
pop ebp
ret 4