Function at 0x412bb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f02a7
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x56b114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004c5d00
add esp, 0xc
mov dword [ebp - 0x830], 0
xor eax, eax
mov dword [ebp - 0x82c], 7
lea ecx, [ebp - 0x840]
mov word [ebp - 0x840], ax
push 0xc
push str.HCIInstall_
call fcn.0040e140
lea esi, [edi + 0x7a4]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x412c3b
mov edx, dword [esi]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8f4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412c46
sub ecx, dword [ebp - 0x8f4]
sar ecx, 1
push ecx
push edx
push ecx
lea ecx, [ebp - 0x840]
call fcn.0040ef70
mov dword [ebp - 0x818], 0
xor ecx, ecx
mov dword [ebp - 0x814], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x82c]
cmp edx, 8
jb 0x412ce9
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412fcb
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x830], 0
cmp dword [ebp - 0x814], 8
mov word [ebp - 0x840], ax
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push str.R2Client.exe
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], 7
push 0x51703c
push eax
call fcn.0040f7d0
add esp, 0x10
mov dword [ebp - 0x848], 0
xor eax, eax
mov dword [ebp - 0x844], 7
lea ecx, [ebp - 0x858]
mov word [ebp - 0x858], ax
push eax
push 0x516090
call fcn.0040e140
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 3
push eax
call sym.R2ClientInstall.exe_public:_static_void___cdecl_CSystemTimeDispose::GetSystemTimeString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 4
lea ecx, [ebp - 0x8ec]
call sym.R2ClientInstall.exe_public:_void___thiscall_CHCIConfig::constructor_void_
mov byte [ebp - 4], 4
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x8ec]
push str.2.2.0
cmovae eax, dword [ebp - 0x828]
push str.Version
push eax
call sym.R2ClientInstall.exe_public:_bool___thiscall_CHCIConfig::SaveConfig_wchar_t_const___wchar_t_const___wchar_t_const__
cmp dword [ebp - 0x844], 8
lea ecx, [ebp - 0x858]
lea eax, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x858]
cmp dword [ebp - 0x814], 8
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x8ec]
push str.InstallTime
push eax
call sym.R2ClientInstall.exe_public:_bool___thiscall_CHCIConfig::SaveConfig_wchar_t_const___wchar_t_const___wchar_t_const__
cmp dword [edi + 0x7d0], 8
lea ecx, [edi + 0x7bc]
jb 0x412df9
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x8ec]
push 0x517060
push eax
call sym.R2ClientInstall.exe_public:_bool___thiscall_CHCIConfig::SaveConfig_wchar_t_const___wchar_t_const___wchar_t_const__
cmp dword [esi + 0x14], 8
jb 0x412e27
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x8ed]
call sym.R2ClientInstall.exe_public:_int___thiscall_CShellFolder::SetHCIInstallDir_wchar_t_const__
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x8ed]
cmovae eax, dword [ebp - 0x828]
push eax
call sym.R2ClientInstall.exe_public:_int___thiscall_CShellFolder::CreateHCIQuickWay_wchar_t_const__
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 0x810]
push 5
push 0
push 0
push eax
push str.open
push 0
call esi
push str.R2Service.exe
lea edx, [ebp - 0x828]
lea ecx, [ebp - 0x870]
call fcn.004131e0
add esp, 4
push 1
mov byte [ebp - 4], 5
lea eax, [ebp - 0x870]
cmp dword [ebp - 0x85c], 8
push 0
cmovae eax, dword [ebp - 0x870]
push 0
push eax
push str.open
push 0
call esi
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x8ed]
cmovae eax, dword [ebp - 0x828]
push eax
call sym.R2ClientInstall.exe_public:_int___thiscall_CShellFolder::ModifyRegistry_wchar_t_const__
mov edx, dword [ebp - 0x85c]
cmp edx, 8
jb 0x412f10
mov ecx, dword [ebp - 0x870]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412fd0
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x860], 0
lea ecx, [ebp - 0x8ec]
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
call sym.R2ClientInstall.exe_public:_void___thiscall_CHCIConfig::destructor_void_
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x412f74
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412fd5
push edx
push ecx
call fcn.004c3d01
add esp, 8
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x412fb0
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412fa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412fda
push edx
push ecx
call fcn.004c3d01
add esp, 8
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.004c360c
mov esp, ebp
pop ebp
ret
call fcn.004cac9c
call fcn.004cac9c
call fcn.004cac9c
call fcn.004cac9c
int3