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

Disassembly:
sub esp, 0x420
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x41c], eax
mov edx, dword [0x53ef1c]
mov eax, dword [0x53ef14]
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 [0x53ef20]
mov dword [esp + 0x20], ecx
mov cx, word [0x53ef24]
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.004d5720
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0xc
push ebx
call ebp
mov esi, eax
test esi, esi
je 0x403767
jmp 0x403750
dec esi
mov eax, 0x5c
cmp ax, word [ebx + esi*2]
je 0x403762
test esi, esi
jne 0x403750
jmp 0x403767
test esi, esi
jbe 0x403767
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 0x4037a6
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x403910
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.00403190
test eax, eax
je 0x4037e2
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 0x40380f
push str.install_driver_and_start_service:_oen_scm_error
call fcn.0040c820
add esp, 4
xor eax, eax
jmp 0x403910
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 0x4038cd
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov edi, eax
cmp edi, 0x431
je 0x40388c
push str.install_driver_and_start_service:_Create_Service_error
call fcn.0040c820
add esp, 4
jmp 0x4038fe
lea ebx, [esp + 0x18]
call fcn.00403460
test eax, eax
je 0x40389e
call fcn.00403550
cmp dword [esp + 0x434], 0
jne 0x4038b2
mov dword [esp + 0x10], 1
jmp 0x4038fe
lea eax, [esp + 0x18]
push eax
call fcn.00403250
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4038fe
call esi
mov edi, eax
jmp 0x4038fe
xor edi, edi
cmp dword [esp + 0x434], edi
je 0x4038f3
lea ecx, [esp + 0x18]
push ecx
call fcn.00403250
add esp, 4
test eax, eax
jne 0x4038f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x4038fb
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.004d6555
add esp, 0x420
ret