Function at 0x4d0050
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d69f0
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x516b80]
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 - 0x26c], ecx
mov byte [ebp - 0x59], 1
lea edi, [ebp - 0x58]
call fcn.0041c4e0
mov dword [ebp - 4], 0
push 0x4fcc2f
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2c]
push eax
mov esi, dword [ebp - 0x26c]
add esi, 0x304
lea ecx, [ebp - 0x30]
call fcn.00416e60
cmp dword [ebp - 0x30], 0
jle 0x4d056c
mov byte [ebp - 0x5a], 1
mov byte [ebp - 0x5b], 1
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx + 0x2f4], 0
je 0x4d010b
mov edx, dword [ebp - 0x26c]
cmp dword [edx + 0x2f4], 5
je 0x4d010b
mov ecx, dword [ebp - 0x26c]
add ecx, 0x304
call fcn.00407830
mov byte [ebp - 0x5a], al
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x4d0321
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx + 0x2f4], 5
jne 0x4d01a4
push 0
lea ecx, [ebp - 0xdc]
call fcn.004d1460
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x26c]
add ecx, 0x284
call fcn.00408ea0
push eax
mov ecx, dword [ebp - 0x26c]
add ecx, 0x178
call fcn.00408ea0
push eax
push 0xb6
lea edx, [ebp - 0x68]
push edx
call fcn.0040fd80
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.0048d19b
mov byte [ebp - 0x60], 1
lea ecx, [ebp - 0xdc]
call fcn.00488930
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.004d1420
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x4d0203
push 0
lea ecx, [ebp - 0x15c]
call fcn.004d1460
mov byte [ebp - 4], 3
push 0xaf
lea ecx, [ebp - 0xe8]
call fcn.004027b0
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.0048d19b
lea ecx, [ebp - 0x15c]
call fcn.00488930
cmp eax, 2
jne 0x4d01f4
mov byte [ebp - 0x5b], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.004d1420
movzx ecx, byte [ebp - 0x5b]
cmp ecx, 1
jne 0x4d031f
push 0x4fcc3e
lea ecx, [ebp - 0x178]
call fcn.00401210
mov byte [ebp - 4], 4
lea edx, [ebp - 0x178]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x26c]
add eax, 0x284
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24c], esp
push eax
call fcn.00403420
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x245]
push ecx
mov esi, dword [ebp - 0x270]
call fcn.00418980
mov dword [ebp - 0x278], eax
call fcn.00418fb0
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x194]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x250], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00401250
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x254], esp
lea edx, [ebp - 0x178]
push edx
call fcn.00401250
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x26c]
add ecx, 0x198
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x258], esp
push ecx
mov ecx, edx
call fcn.00401250
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.0041d970
lea edi, [ebp - 0x58]
call fcn.0041c730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.00401290
jmp 0x4d0377
push 0
lea ecx, [ebp - 0x1fc]
call fcn.004d1460
mov byte [ebp - 4], 7
push 0xb5
lea ecx, [ebp - 0x188]
call fcn.004027b0
lea eax, [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.0048d19b
lea ecx, [ebp - 0x1fc]
call fcn.00488930
cmp eax, 2
jne 0x4d0368
mov byte [ebp - 0x59], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1fc]
call fcn.004d1420
movzx ecx, byte [ebp - 0x5a]
test ecx, ecx
je 0x4d038b
movzx edx, byte [ebp - 0x5b]
test edx, edx
jne 0x4d056c
mov eax, dword [ebp - 0x26c]
add eax, 0x198
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x25c], esp
push eax
call fcn.00401250
mov dword [ebp - 0x290], eax
lea ebx, [ebp - 0x58]
call fcn.0041e0b0
lea edi, [ebp - 0x58]
call fcn.0041c730
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx + 0x2f4], 5
je 0x4d056c
push 0x4fd7c8
lea ecx, [ebp - 0x218]
call fcn.004012d0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x26c]
add ecx, 0x624
call fcn.00405890
movzx edx, al
test edx, edx
jne 0x4d0415
mov eax, dword [ebp - 0x26c]
add eax, 0x624
push eax
lea ecx, [ebp - 0x218]
call fcn.00408cc0
jmp 0x4d042d
mov ecx, dword [ebp - 0x26c]
add ecx, 0x284
push ecx
lea ecx, [ebp - 0x218]
call fcn.00408cc0
lea ecx, [ebp - 0x218]
call fcn.00405890
movzx edx, al
test edx, edx
jne 0x4d055d
lea ecx, [ebp - 0x218]
call fcn.00408ea0
push eax
call fcn.004972e5
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.00488191
add esp, 4
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x218]
call fcn.00408ea0
push eax
mov ecx, dword [ebp - 0x240]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call fcn.00499726
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 - 0x264], eax
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.00488186
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
call fcn.00401310
mov dl, byte [ebp - 0x59]
mov byte [ebp - 0x265], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401290
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x58]
push eax
call fcn.0041c6c0
mov al, byte [ebp - 0x265]
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.00497164
mov esp, ebp
pop ebp
ret 4