Function at 0x4036e0
Capabilities:
Set current directory
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5795cf
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x620514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6263f0], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1d0], eax
je 0x4037c9
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4037c9
cmp dword [eax + 0x58], 4
jb 0x4037c9
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x1c9], al
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
push 0xf
push str.Enter__tWinMain
call fcn.00404900
push 0xb9
push str.RC::EnterWinMainWLog
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345rtprotect2345rtprotect.cpp
lea eax, [ebp - 0x30]
mov ecx, 0x6263f0
push eax
push 4
call fcn.004d06c0
cmp byte [ebp - 0x1c9], 0
je 0x4037ba
lea eax, [ebp - 0x30]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00404840
lea ecx, [ebp - 0x64]
call fcn.004475e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0043df60
test al, al
je 0x4037f6
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xorps xmm0, xmm0
mov byte [ebp - 0x1c9], 0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
call fcn.00402970
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4038fa
push str.RtlCaptureStackBackTrace
push 0x5cffac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x626234], eax
test eax, eax
je 0x4038f3
cmp dword [0x626230], 0
jne 0x4038f3
cmp dword [0x626238], 0
jne 0x4038f3
cmp byte [esi + 0x10], 0
jne 0x403870
cmp byte [esi + 0x2c], 0
jne 0x403870
cmp byte [esi + 0x28], 0
je 0x4038f3
push 0x30
call fcn.0055e844
add esp, 4
mov ecx, eax
call fcn.00405a40
movups xmm0, xmmword [esi]
push 0x4b8
mov dword [0x626238], 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.0055e844
mov esi, eax
mov dword [ebp - 0x1e0], esi
mov byte [ebp - 4], 3
push 0x4b8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00411f10
mov byte [ebp - 4], 2
mov ecx, 0x626270
mov dword [0x626230], eax
call fcn.0040f700
test al, al
je 0x4038e9
mov byte [ebp - 0x1c9], 1
jmp 0x4038fa
mov ecx, 0x626270
call fcn.0040f980
mov byte [ebp - 0x1c9], 0
push 4
call fcn.0055e844
mov edi, eax
mov dword [ebp - 0x1e0], edi
mov byte [ebp - 4], 4
push 4
mov dword [edi], 0
call fcn.0055e844
add esp, 8
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0
mov byte [ebp - 4], 4
mov dword [edi], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0040e660
mov byte [ebp - 4], 6
xor eax, eax
push 0x15
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push str.SdReflectDefender.dll
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00404900
mov byte [ebp - 4], 7
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x94]
call fcn.0043efc0
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.00404840
lea ecx, [ebp - 0x94]
call fcn.0044c970
test al, al
je 0x4039c3
push ecx
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.00422390
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x94]
call fcn.00404840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.00404840
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 - 0x1c8]
mov dword [ebp - 0x1d8], eax
call fcn.0043d820
cmp dword [ebp - 0x1c4], 6
jae 0x403a7d
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x403a77
push 0x10
push str.CryptSvc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x1d4], eax
test eax, eax
je 0x403a70
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0x1d4]
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 - 0x30]
push 0xd
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push str.DriverApi.dll
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00404900
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.0043efc0
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
call fcn.00404840
cmp dword [ebp - 0x6c], 0
je 0x403ae4
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x1d4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x4c], xmm0
call fcn.00403d50
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
mov al, byte [ebp - 0x1c9]
push dword [ebp - 0x1d0]
mov byte [ebp - 0x34], al
call fcn.0040afb0
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1e0], eax
mov eax, dword [edi]
mov dword [ebp - 0x1d0], eax
test eax, eax
je 0x403b4b
mov ecx, dword [eax]
test ecx, ecx
je 0x403b4b
push ecx
call esi
test eax, eax
je 0x403b4b
mov eax, dword [ebp - 0x1d0]
mov dword [eax], 0
mov eax, dword [edi]
mov dword [ebp - 0x1d0], eax
test eax, eax
je 0x403b81
mov ecx, dword [eax]
test ecx, ecx
je 0x403b70
push ecx
call esi
test eax, eax
mov eax, dword [ebp - 0x1d0]
je 0x403b70
mov dword [eax], 0
push 4
push eax
call fcn.0055e874
add esp, 8
mov dword [edi], 0
push 4
push edi
call fcn.0055e874
mov eax, dword [ebp - 0x1d4]
add esp, 8
test eax, eax
je 0x403b99
push eax
call esi
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x403ba6
push eax
call esi
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x403bb3
push eax
call esi
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x403bc0
push eax
call esi
mov eax, dword [ebp - 0x1d8]
test eax, eax
je 0x403bcd
push eax
call esi
or edi, 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x403c8a
mov ecx, 0x626270
call fcn.0040f980
mov esi, dword [0x626230]
test esi, esi
je 0x403c0d
mov ecx, esi
call fcn.004123c0
push 0x4b8
push esi
call fcn.0055e874
add esp, 8
mov dword [0x626230], 0
mov eax, dword [0x626238]
test eax, eax
je 0x403c2b
push 0x30
push eax
call fcn.0055e874
add esp, 8
mov dword [0x626238], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xd
test esi, esi
je 0x403c8a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x403c8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x403c8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3c]
call fcn.00424720
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x4c], vtable.RC::RCCrashClient.0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x44]
call dword [sym.imp.BasicBusinessConfigCenter.dll_public:_void___thiscall_RC::DM::RCCloudDataUser::destructor_void_]
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x403cd4
mov ecx, esi
call fcn.00432050
push 0x20
push esi
call fcn.0055e874
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00404840
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x403d09
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x403d09
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x403d09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00404840
mov eax, dword [ebp - 0x1e0]
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.0055e833
mov esp, ebp
pop ebp
ret 0x10