Function at 0x4018d0
Capabilities:
Copy file
Schedule task via itaskservice

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4440ac
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d8
mov eax, dword [0x453170]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], edx
mov eax, ecx
mov dword [ebp - 0x268], eax
mov ecx, dword [ebx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x26c], ecx
mov ecx, dword [ebx + 0xc]
push eax
mov dword [ebp - 0x264], ecx
call esi
push dword [0x455724]
mov edi, eax
call esi
add edi, eax
lea eax, [edi*2 + 4]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [0x455724]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x45063c
push edi
call esi
push dword [ebp - 0x268]
push edi
call esi
push 0
push edi
push dword [0x459d4c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x401ac4
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push 0x449e4c
push 1
push 0
push 0x449e6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x401abe
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x2a8]
push eax
call esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x298]
movups xmm0, xmmword [ebp - 0x2a8]
push eax
movups xmmword [ebp - 0x2b8], xmm0
call esi
movups xmm0, xmmword [ebp - 0x298]
lea eax, [ebp - 0x2e8]
push eax
movups xmmword [ebp - 0x2c8], xmm0
call esi
movups xmm0, xmmword [ebp - 0x2e8]
lea eax, [ebp - 0x288]
push eax
movups xmmword [ebp - 0x2d8], xmm0
call esi
mov byte [ebp - 4], 3
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x234]
mov eax, esp
sub esp, 0x10
mov edx, dword [ecx]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x2c8]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x2d8]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x288]
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x28]
mov esi, eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2a8]
mov dword [ebp - 4], 0xffffffff
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x401ace
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x402149
push 0xc
mov dword [ebp - 0x230], 0
call fcn.0041daee
mov esi, eax
add esp, 4
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x401b1f
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x4506cc
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.0041d4d0
mov dword [esi], eax
jmp 0x401b21
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x268], esi
test esi, esi
je 0x402167
mov dword [ebp - 4], 5
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 0x234]
push edx
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004010c0
test esi, esi
js 0x401ab2
push dword [ebp - 0x270]
lea ecx, [ebp - 0x268]
call fcn.00401010
mov dword [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x401b90
mov edx, dword [eax]
jmp 0x401b92
xor edx, edx
mov eax, dword [ebp - 0x230]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
call fcn.004010c0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x22c]
push edx
mov dword [ebp - 0x22c], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x234]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
jns 0x401bef
mov eax, dword [ebp - 0x230]
jmp 0x401ab8
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x401c27
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
jmp 0x401ab8
push dword [ebp - 0x264]
lea ecx, [ebp - 0x264]
call fcn.00401010
mov dword [ebp - 4], 7
mov eax, dword [eax]
test eax, eax
je 0x401c49
mov edx, dword [eax]
jmp 0x401c4b
xor edx, edx
mov eax, dword [ebp - 0x244]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call fcn.004010c0
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x248]
mov dword [ebp - 0x248], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x401c10
mov eax, dword [ebp - 0x248]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0x248]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x238], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x401c10
mov eax, dword [ebp - 0x238]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov ecx, dword [ebp - 0x238]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x9c]
test eax, eax
js 0x401c10
mov eax, dword [ebp - 0x23c]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
js 0x401c10
push 0x4506d0
lea ecx, [ebp - 0x264]
call fcn.00401010
mov dword [ebp - 4], 8
mov eax, dword [eax]
test eax, eax
je 0x401d67
mov edx, dword [eax]
jmp 0x401d69
xor edx, edx
mov eax, dword [ebp - 0x23c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004010c0
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x401c10
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x250]
push edx
mov dword [ebp - 0x250], 0
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov ecx, dword [ebp - 0x24c]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x240]
push edx
mov dword [ebp - 0x240], 0
push 0x449e5c
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x250]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
push str.Trigger1
lea ecx, [ebp - 0x264]
call fcn.00401010
mov dword [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
je 0x401e50
mov edx, dword [eax]
jmp 0x401e52
xor edx, edx
mov eax, dword [ebp - 0x240]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call fcn.004010c0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0041f670
push dword [ebp - 0x26c]
movzx eax, word [ebp - 0x222]
inc eax
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push str._02d__02d__02dT_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x26c]
push eax
call fcn.00401010
mov dword [ebp - 4], 0xa
mov edx, dword [eax]
test edx, edx
je 0x401ee8
mov edx, dword [edx]
jmp 0x401eea
xor edx, edx
mov eax, dword [ebp - 0x240]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004010c0
mov ecx, dword [ebp - 0x240]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x401c10
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x258]
push edx
mov dword [ebp - 0x258], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x254]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x25c]
push edx
mov dword [ebp - 0x25c], 0
push str.MbLk
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x258]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
push edi
lea ecx, [ebp - 0x26c]
call fcn.00401010
mov dword [ebp - 4], 0xb
mov eax, dword [eax]
test eax, eax
je 0x401fcd
mov edx, dword [eax]
jmp 0x401fcf
xor edx, edx
mov eax, dword [ebp - 0x25c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004010c0
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x401c10
mov eax, 8
mov dword [ebp - 0x260], 0
push 0x4504a0
mov word [ebp - 0x288], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x280], eax
test eax, eax
je 0x402171
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x298]
movups xmm0, xmmword [ebp - 0x288]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push eax
movups xmmword [ebp - 0x2d8], xmm0
call esi
movups xmm0, xmmword [ebp - 0x298]
lea eax, [ebp - 0x2a8]
push eax
movups xmmword [ebp - 0x2c8], xmm0
call esi
push dword [ebp - 0x270]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x274]
movups xmm0, xmmword [ebp - 0x2a8]
movups xmmword [ebp - 0x2b8], xmm0
call fcn.00401010
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
test eax, eax
je 0x40209f
mov esi, dword [eax]
jmp 0x4020a1
xor esi, esi
movups xmm0, xmmword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x260]
push eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
push 3
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x2c8]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x2b8]
push 6
push dword [ebp - 0x22c]
movups xmmword [eax], xmm0
push esi
push ecx
call dword [edx + 0x44]
lea ecx, [ebp - 0x274]
mov esi, eax
call fcn.004010c0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2a8]
push eax
call edi
lea eax, [ebp - 0x298]
push eax
call edi
lea eax, [ebp - 0x288]
mov dword [ebp - 4], 0xffffffff
push eax
call edi
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
js 0x401ac4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d829
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.0041d4b0
push 0x8007000e
call fcn.0041d4b0
int3