Function at 0x4036a0
Capabilities:
Copy file
Create service
Get common file path
Persist via windows service

Disassembly:
sub esp, 0x420
mov eax, dword [0x5954a0]
xor eax, esp
mov dword [esp + 0x41c], eax
mov edx, dword [0x5668cc]
mov eax, dword [0x5668c4]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ecx, dword [str.tdlock]
push 0x1f6
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov eax, dword [0x5668d0]
mov dword [esp + 0x20], ecx
mov cx, word [0x5668d4]
lea edx, [esp + 0x2e]
push 0
push edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], eax
mov word [esp + 0x34], cx
call fcn.004f8090
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0xc
push ebx
call ebp
mov esi, eax
test esi, esi
je 0x403737
jmp 0x403720
dec esi
mov eax, 0x5c
cmp ax, word [ebx + esi*2]
je 0x403732
test esi, esi
jne 0x403720
jmp 0x403737
test esi, esi
jbe 0x403737
inc esi
push 0x104
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebx + esi*2]
push edi
call ebp
lea edx, [esp + 0x220]
push edx
mov esi, eax
call ebp
lea eax, [esi + eax + 0xa]
cmp eax, 0x104
jl 0x403776
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4038e0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Drivers_
lea ecx, [esp + 0x224]
push ecx
call ebp
push edi
lea edx, [esp + 0x224]
push edx
call ebp
lea esi, [esp + 0x220]
call fcn.00403160
test eax, eax
je 0x4037b2
push 0
mov eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jne 0x4037df
push str.install_driver_and_start_service:_oen_scm_error
call fcn.0040c7f0
add esp, 4
xor eax, eax
jmp 0x4038e0
push str.System32Drivers_
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
lea edx, [esp + 0x224]
push edx
call ebp
push 0
push 0
push str.FltMgr
push 0
push str.FSFilter_Activity_Monitor
lea eax, [esp + 0x234]
push eax
push 1
push 1
push 2
push 0xf01ff
lea ecx, [esp + 0x40]
push ecx
mov edx, ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x40389d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov edi, eax
cmp edi, 0x431
je 0x40385c
push str.install_driver_and_start_service:_Create_Service_error
call fcn.0040c7f0
add esp, 4
jmp 0x4038ce
lea ebx, [esp + 0x18]
call fcn.00403430
test eax, eax
je 0x40386e
call fcn.00403520
cmp dword [esp + 0x434], 0
jne 0x403882
mov dword [esp + 0x10], 1
jmp 0x4038ce
lea eax, [esp + 0x18]
push eax
call fcn.00403220
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4038ce
call esi
mov edi, eax
jmp 0x4038ce
xor edi, edi
cmp dword [esp + 0x434], edi
je 0x4038c3
lea ecx, [esp + 0x18]
push ecx
call fcn.00403220
add esp, 4
test eax, eax
jne 0x4038c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x4038cb
mov dword [esp + 0x10], 1
push esi
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f8124
add esp, 0x420
ret