Function at 0x439780
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Persist via lnk shortcut
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b7000
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7950]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebp
call fcn.00401e00
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x4c]
inc eax
cmp eax, 2
mov dword [esp + 0x4c], eax
jg 0x439ce5
lea eax, [esp + 0x38]
push eax
call fcn.004396f0
add esp, 4
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.00401e40
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x74], 2
call fcn.00401e20
lea edi, [esp + 0x4c]
call fcn.00439160
add esp, 4
mov eax, edi
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 3
call fcn.00401f00
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
call fcn.00401e20
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 4
call fcn.00401ec0
mov ebx, dword [esp + 0x74]
cmp ebx, ebp
je 0x439cc1
lea ecx, [esp + 0x24]
call fcn.004025b0
test al, al
jne 0x439cc1
push ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
push 0x4c2690
push 1
push ebp
push 0x4c26a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
mov edi, dword [esp + 0x88]
jl 0x439b10
cmp edi, ebp
je 0x4398f2
lea ecx, [esp + 0x3c]
call fcn.00401e00
push str.LNKEVN
lea ecx, [esp + 0x40]
push str.___s__
push ecx
mov byte [esp + 0x78], 5
call fcn.00404820
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
add esp, 0xc
lea ecx, [esp + 0x3c]
add esi, 0x50
call fcn.004077a0
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x1c]
push eax
call ecx
lea ecx, [esp + 0x3c]
mov esi, eax
mov byte [esp + 0x6c], 4
call fcn.00408680
jmp 0x439901
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x50]
call eax
mov esi, eax
cmp esi, ebp
jl 0x439b10
push ebx
lea ecx, [esp + 0x20]
call fcn.00401e40
mov bl, 6
push 0x5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], bl
call fcn.00402090
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402200
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 7
call fcn.00401ec0
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], bl
call fcn.00408680
mov edx, dword [esp + 0x18]
mov esi, dword [edx]
lea ecx, [esp + 0x1c]
add esi, 0x24
call fcn.004077a0
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x1c]
push eax
call ecx
cmp eax, ebp
jge 0x43997d
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x1c]
jmp 0x439b0b
mov esi, dword [esp + 0x7c]
cmp esi, ebp
je 0x439a01
lea ecx, [esp + 0x2c]
call fcn.00401e00
push 0x104
push 0x104
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 8
call fcn.00402570
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call fcn.00407050
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
mov esi, dword [edx]
push eax
lea ecx, [esp + 0x30]
add esi, 0x44
call fcn.004077a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
push ecx
call edx
cmp eax, ebp
lea ecx, [esp + 0x2c]
jge 0x4399f8
call fcn.00408680
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x1c]
jmp 0x439b0b
mov byte [esp + 0x6c], bl
call fcn.00408680
cmp edi, ebp
jne 0x439a37
mov ecx, dword [esp + 0x84]
cmp ecx, ebp
je 0x439a37
cmp ecx, 0x4cff50
je 0x439a37
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp eax, ebp
jge 0x439a37
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x1c]
jmp 0x439b0b
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x4c26e0
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebp
jge 0x439a5e
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x1c]
jmp 0x439b0b
lea ecx, [esp + 0x58]
push 0x1c
push ecx
call fcn.0043ab60
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 9
call fcn.00401ec0
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], bl
call fcn.00408680
push 0x4d15c8
lea ecx, [esp + 0x18]
call fcn.004024a0
cmp dword [esp + 0x20], ebp
je 0x439aca
lea edx, [esp + 0x5c]
push edx
call fcn.004396f0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0xa
call fcn.00401ec0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x6c], bl
call fcn.00408680
mov dword [esp + 0x20], ebp
push str.tempurl.lnk
lea ecx, [esp + 0x18]
call fcn.00401f20
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x18]
add esi, 0x18
call fcn.004077a0
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
push eax
push ecx
call edx
cmp eax, ebp
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x1c]
jl 0x439b0b
mov dword [esp + 0x28], 1
call fcn.00408680
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x439b20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x439b30
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, ebp
je 0x439bf0
lea ecx, [esp + 0x34]
call fcn.00401e00
lea ecx, [esp + 0x50]
call fcn.00401e00
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xc
call fcn.004077a0
lea ebx, [esp + 0x50]
lea edi, [esp + 0x34]
mov esi, eax
call fcn.00439de0
lea ecx, [esp + 0x40]
call fcn.00401e00
push str.LNKEVN
lea eax, [esp + 0x44]
push str.___s__
push eax
mov byte [esp + 0x78], 0xd
call fcn.00404820
lea ecx, [esp + 0x4c]
push ecx
mov edx, edi
push edx
call fcn.00402420
add esp, 0x14
test al, al
jne 0x439bbf
mov eax, dword [esp + 0x74]
push eax
mov ecx, edi
push ecx
call fcn.00402440
add esp, 8
mov dword [esp + 0x20], 1
test al, al
je 0x439bc7
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x40]
call fcn.00408680
lea ecx, [esp + 0x50]
call fcn.00408680
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 4
call fcn.00408680
mov edi, dword [esp + 0x88]
xor ebp, ebp
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call fcn.00401e20
call fcn.0040e2a0
add esp, 4
test al, al
je 0x439c82
cmp edi, ebp
je 0x439c34
cmp dword [esp + 0x20], ebp
jne 0x439c72
mov eax, dword [esp + 0x84]
push eax
lea ecx, [esp + 0x18]
call fcn.004077a0
mov esi, eax
call fcn.00439d10
add esp, 4
jmp 0x439c3a
cmp dword [esp + 0x20], ebp
jne 0x439c72
mov esi, 1
push esi
lea ecx, [esp + 0x48]
call fcn.004077a0
push eax
lea ecx, [esp + 0x1c]
call fcn.004077a0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x439c6e
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x439c72
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x14]
call fcn.004077a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x44]
call fcn.00408680
lea ecx, [esp + 0x48]
call fcn.00408680
lea ecx, [esp + 0x24]
call fcn.00408680
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0
call fcn.00408680
cmp dword [esp + 0x20], ebp
jne 0x4397c2
cmp dword [esp + 0x28], ebp
je 0x4397c2
jmp 0x439ce5
lea ecx, [esp + 0x44]
call fcn.00408680
lea ecx, [esp + 0x48]
call fcn.00408680
lea ecx, [esp + 0x24]
call fcn.00408680
lea ecx, [esp + 0x38]
call fcn.00408680
lea ecx, [esp + 0x14]
call fcn.00408680
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret