Function at 0x40b860
Capabilities:
Copy file
Create directory
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63448c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6d9120]
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 - 4], 0
call fcn.00414a71
mov ecx, eax
test ecx, ecx
jne 0x40b8aa
push 0x80004005
call fcn.00402e30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
push 0x5c
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005e1bc4
add esp, 8
test eax, eax
jne 0x40b8d2
or eax, 0xffffffff
jmp 0x40b8d7
sub eax, dword [ebp + 8]
sar eax, 1
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040d0b0
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.00403410
mov edx, dword [ebp - 0x21c]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b91c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.PassIDform.lnk
lea ecx, [ebp - 0x228]
call fcn.00403300
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
jge 0x40b941
or eax, 0xffffffff
jmp 0x40b960
push 0x656548
push eax
call fcn.005e1c65
add esp, 8
test eax, eax
jne 0x40b958
or eax, 0xffffffff
jmp 0x40b960
sub eax, dword [ebp - 0x228]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040d0b0
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.00403410
mov edx, dword [ebp - 0x21c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b9a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00414a71
mov ecx, eax
test ecx, ecx
jne 0x40b9b9
push 0x80004005
call fcn.00402e30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push str.PassIDform.lnk
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00409750
add esp, 0xc
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.00403410
mov edx, dword [ebp - 0x21c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ba17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x234]
push edi
call fcn.0040bf60
push dword [ebp - 0x228]
push edi
push dword [ebp + 8]
call fcn.0040b7b0
add esp, 0x10
lea eax, [ebp - 0x218]
mov ecx, 0x6e2be0
push eax
call fcn.00404b90
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00403300
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 7
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x21c], edx
lea ecx, [edx - 1]
test ecx, ecx
js 0x40ba93
cmp ecx, edx
jg 0x40ba93
cmp word [eax + ecx*2], 0x5c
je 0x40bae9
lea esi, [edx + 1]
test esi, esi
jns 0x40ba9d
push 0x80070057
call fcn.00402e30
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x40bac0
push esi
lea ecx, [ebp - 0x220]
call fcn.00405990
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x21c]
mov edx, 0x5c
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x220]
cmp esi, dword [eax - 8]
jg 0x40ba93
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x220]
mov word [eax + esi*2], cx
push str.PassIDform.lnk
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00409750
add esp, 0xc
push 0
push dword [ebp - 0x238]
mov byte [ebp - 4], 8
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.0040d040
test eax, eax
je 0x40bcba
push str.PassIDform_as_Admin.lnk
lea ecx, [ebp - 0x224]
call fcn.00403300
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 9
cmp dword [eax - 0xc], 0
jg 0x40bb49
or eax, 0xffffffff
jmp 0x40bb65
push 0x2e
push eax
call fcn.005e263a
add esp, 8
test eax, eax
jne 0x40bb5d
or eax, 0xffffffff
jmp 0x40bb65
sub eax, dword [ebp - 0x224]
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040d0b0
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0xa
call fcn.00403410
mov edx, dword [ebp - 0x230]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bba9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00414a71
mov ecx, eax
test ecx, ecx
jne 0x40bbbe
push 0x80004005
call fcn.00402e30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
push str.PassIDform_as_Admin.lnk
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00409750
add esp, 0xc
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xc
call fcn.00403410
mov edx, dword [ebp - 0x23c]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bc1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x230]
push esi
call fcn.0040bf60
push dword [ebp - 0x224]
push esi
push dword [ebp + 8]
call fcn.0040b690
push str.PassIDform_as_Admin.lnk
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00409750
add esp, 0x1c
push 0
push dword [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x21c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bc7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40bc99
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bcba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bcdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bcfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40bd17
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bd38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bd59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40bd78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.005dddbe
mov esp, ebp
pop ebp
ret