Function at 0x403610
Capabilities:
Set current directory
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562b3a
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x608514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1b8], eax
call fcn.0043c6c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00432190
test al, al
je 0x403673
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xorps xmm0, xmm0
mov byte [ebp - 0x1b1], 0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
call fcn.004029b0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x403777
push str.RtlCaptureStackBackTrace
push 0x5b7558
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x60e1f4], eax
test eax, eax
je 0x403770
cmp dword [0x60e1f0], 0
jne 0x403770
cmp dword [0x60e1f8], 0
jne 0x403770
cmp byte [esi + 0x10], 0
jne 0x4036ed
cmp byte [esi + 0x2c], 0
jne 0x4036ed
cmp byte [esi + 0x28], 0
je 0x403770
push 0x30
call fcn.0054bee4
add esp, 4
mov ecx, eax
call fcn.004058e0
movups xmm0, xmmword [esi]
push 0x4b8
mov dword [0x60e1f8], eax
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [eax + 0x20], xmm0
call fcn.0054bee4
mov esi, eax
mov dword [ebp - 0x1c8], esi
mov byte [ebp - 4], 2
push 0x4b8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00411ca0
mov byte [ebp - 4], 1
mov ecx, 0x60e230
mov dword [0x60e1f0], eax
call fcn.0040f480
test al, al
je 0x403766
mov byte [ebp - 0x1b1], 1
jmp 0x403777
mov ecx, 0x60e230
call fcn.0040f700
mov byte [ebp - 0x1b1], 0
push 4
call fcn.0054bee4
mov edi, eax
mov dword [ebp - 0x1c8], edi
mov byte [ebp - 4], 3
push 4
mov dword [edi], 0
call fcn.0054bee4
add esp, 8
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 4
mov dword [eax], 0
mov dword [eax], 0
mov byte [ebp - 4], 3
mov dword [edi], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.0040e3e0
mov byte [ebp - 4], 5
xor eax, eax
push 0x15
mov dword [ebp - 0x1d0], 0
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1cc], 0
push str.SdReflectDefender.dll
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 7
mov word [ebp - 0x1e0], ax
call fcn.004047a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1e0]
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x7c]
call fcn.00433480
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e0]
call fcn.004046e0
lea ecx, [ebp - 0x7c]
call fcn.004472c0
test al, al
je 0x40384f
push ecx
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.00422120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call fcn.004046e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.004046e0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.ncrypt.dll
call esi
push str.bcrypt.dll
mov dword [ebp - 0x1e4], eax
call esi
push str.cryptnet.dll
mov dword [ebp - 0x1e8], eax
call esi
push str.bcryptprimitives.dll
mov dword [ebp - 0x1ec], eax
call esi
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x1c0], eax
call fcn.00431a50
cmp dword [ebp - 0x1ac], 6
jae 0x403906
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x403900
push 0x10
push str.CryptSvc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x1bc], eax
test eax, eax
je 0x4038f9
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0x1bc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor eax, eax
lea ecx, [ebp - 0x1e0]
push 0xd
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], eax
push str.DriverApi.dll
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], 7
mov word [ebp - 0x1e0], ax
call fcn.004047a0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1e0]
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.00433480
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
call fcn.004046e0
cmp dword [ebp - 0x54], 0
je 0x403985
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call esi
mov dword [ebp - 0x1bc], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.00403bf0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
mov al, byte [ebp - 0x1b1]
push dword [ebp - 0x1b8]
mov byte [ebp - 0x1c], al
call fcn.0040ae20
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1c8], eax
mov eax, dword [edi]
mov dword [ebp - 0x1b8], eax
test eax, eax
je 0x4039ec
mov ecx, dword [eax]
test ecx, ecx
je 0x4039ec
push ecx
call esi
test eax, eax
je 0x4039ec
mov eax, dword [ebp - 0x1b8]
mov dword [eax], 0
mov eax, dword [edi]
mov dword [ebp - 0x1b8], eax
test eax, eax
je 0x403a22
mov ecx, dword [eax]
test ecx, ecx
je 0x403a11
push ecx
call esi
test eax, eax
mov eax, dword [ebp - 0x1b8]
je 0x403a11
mov dword [eax], 0
push 4
push eax
call fcn.0054bf14
add esp, 8
mov dword [edi], 0
push 4
push edi
call fcn.0054bf14
mov eax, dword [ebp - 0x1bc]
add esp, 8
test eax, eax
je 0x403a3a
push eax
call esi
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x403a47
push eax
call esi
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x403a54
push eax
call esi
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x403a61
push eax
call esi
mov eax, dword [ebp - 0x1c0]
test eax, eax
je 0x403a6e
push eax
call esi
or edi, 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x403b2b
mov ecx, 0x60e230
call fcn.0040f700
mov esi, dword [0x60e1f0]
test esi, esi
je 0x403aae
mov ecx, esi
call fcn.00412150
push 0x4b8
push esi
call fcn.0054bf14
add esp, 8
mov dword [0x60e1f0], 0
mov eax, dword [0x60e1f8]
test eax, eax
je 0x403acc
push 0x30
push eax
call fcn.0054bf14
add esp, 8
mov dword [0x60e1f8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], esi
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xc
test esi, esi
je 0x403b2b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x403b2b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x403b2b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x24]
call fcn.00423b80
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x34], vtable.RC::RCCrashClient.0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2c]
call dword [sym.imp.BasicBusinessConfigCenter.dll_public:_void___thiscall_RC::DM::RCCloudDataUser::destructor_void_]
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x403b75
mov ecx, esi
call fcn.00431470
push 0x20
push esi
call fcn.0054bf14
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004046e0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x403baa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x403baa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x403baa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004046e0
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054bed3
mov esp, ebp
pop ebp
ret 0x10