Function at 0x4353b0
Capabilities:
Check if file exists
Create service
Get common file path
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de57c
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x51b7bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44c], esi
call fcn.00404d10
mov ecx, eax
test ecx, ecx
je 0x435ddc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x448], edi
mov dword [ebp - 4], 0
mov dword [ebp - method.mf_bind_t_class_CInstaller__class_CInstaller___void_.virtual_0], vtable.mf_bind_t_class_CInstaller__class_CInstaller___void_.0
mov dword [ebp - 0x430], 0x434a20
mov dword [ebp - 0x42c], esi
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 1
push eax
call fcn.0043d570
add esp, 4
mov byte [ebp - 4], 0
call fcn.0042eee0
mov esi, eax
call fcn.0042ef60
mov ecx, eax
call fcn.0042f0d0
mov ecx, dword [esi]
push dword [eax]
push esi
call dword [ecx + 0x24]
push eax
push str.install_type:_d__install_version:_s
call fcn.00431f60
mov esi, dword [ebp - 0x44c]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
call fcn.0043d570
add esp, 0x10
mov byte [ebp - 4], 0
lea eax, [esi + 4]
mov dword [ebp - 0x458], eax
push eax
call fcn.0042ef60
mov ecx, eax
call fcn.0042f0e0
push eax
call fcn.0043f940
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 2
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
call fcn.0043d570
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x438]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.004400b0
push esi
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 4
call fcn.00440690
lea ecx, [ebp - 0x438]
call fcn.004409a0
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0
call fcn.004401c0
push str.remove_all_pending_files
call fcn.00431f60
mov esi, dword [ebp - 0x44c]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 3
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 5
push eax
call fcn.0043d570
push str..tmp
push dword [esi + 4]
mov byte [ebp - 4], 0
call fcn.004051e0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 4
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 6
push eax
call fcn.0043d570
push dword [esi + 4]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.00431f60
push str.update
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.0041b380
push dword [eax]
mov byte [ebp - 4], 7
call fcn.00404890
mov edx, dword [ebp - 0x444]
add esp, 0x2c
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435612
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.0041b380
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.00431f60
mov edx, dword [ebp - 0x444]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43565c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 5
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 9
push eax
call fcn.0043d570
add esp, 4
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00433d50
and eax, 1
mov dword [ebp - 0x444], eax
jne 0x4356c1
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0x448]
call fcn.00410260
mov edi, dword [ebp - 0x448]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0x5d
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xa
push eax
call fcn.0043d570
push dword [esi + 4]
mov byte [ebp - 4], 0
call fcn.00440b80
add esp, 8
mov ecx, esi
call fcn.00435e60
test eax, eax
jne 0x43572d
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x444], eax
call fcn.00410260
mov edi, dword [ebp - 0x448]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0x60
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xb
push eax
call fcn.0043d570
add esp, 4
mov byte [ebp - 4], 0
call fcn.00416070
mov ecx, eax
call fcn.00413870
neg eax
sbb eax, eax
inc eax
push eax
call fcn.00416070
mov ecx, eax
call fcn.00413c30
neg eax
sbb eax, eax
inc eax
push eax
call fcn.00416070
mov ecx, eax
call fcn.00413a50
neg eax
sbb eax, eax
inc eax
push eax
call fcn.00416070
mov ecx, eax
call fcn.00413950
neg eax
sbb eax, eax
inc eax
push eax
call fcn.00416070
mov ecx, eax
call fcn.00413770
neg eax
sbb eax, eax
inc eax
push eax
mov eax, dword [ebp - 0x458]
push ecx
mov esi, esp
mov dword [ebp - 0x42c], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404220
add esp, 4
lea ecx, [ebp - 0x470]
add eax, 0x10
mov dword [esi], eax
call fcn.00440ee0
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0xc
call fcn.00441980
mov esi, dword [ebp - 0x44c]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0x61
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xd
push eax
call fcn.0043d570
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x470]
call fcn.00441330
call fcn.00416070
mov eax, dword [eax + 0x40]
sub eax, 0x10
push eax
call fcn.00404220
add esp, 4
add eax, 0x10
mov dword [ebp - 0x450], eax
mov ecx, str.__fromnewinstall
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43589e
test dx, dx
je 0x435892
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43589e
add eax, 4
add ecx, 4
test dx, dx
jne 0x435870
mov dword [ebp - 0x440], 0
jmp 0x4358a9
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x450]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4358cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x440], 0
jne 0x435930
push str.Call_SetArParm
call fcn.00431f60
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004647d0
add esp, 0x10
lea eax, [ebp - 0x220]
push str..UtilsArCtrl.dll
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x435930
push str.SetArParm
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435930
push 0
push 1
call eax
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0x62
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xf
push eax
call fcn.0043d570
push str.Create_Drivers
mov byte [ebp - 4], 0xc
call fcn.00431f60
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004647d0
add esp, 0x14
call fcn.00404d10
mov ecx, eax
test ecx, ecx
je 0x435de6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x440], eax
cmp dword [0x51a020], 0
mov byte [ebp - 4], 0x10
je 0x435aa1
push str.GetNativeSystemInfo
push 0x4e8074
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435a97
xorps xmm0, xmm0
mov dword [ebp - 0x474], 0
lea ecx, [ebp - 0x494]
push ecx
movups xmmword [ebp - 0x494], xmm0
movups xmmword [ebp - 0x484], xmm0
call eax
mov ax, word [ebp - 0x494]
cmp ax, 9
je 0x435a8d
cmp ax, 6
je 0x435a8d
cmp ax, 0xc
je 0x435a8d
push str.IsWow64Process2
push 0x4e8abc
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x435a84
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x42c]
test eax, eax
je 0x435a84
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x450], cx
sete al
mov dword [0x51e840], eax
jmp 0x435a97
xor eax, eax
mov dword [0x51e840], eax
jmp 0x435a97
mov dword [0x51e840], 1
mov dword [0x51a020], 0
cmp dword [0x51e840], 0
lea eax, [ebp - 0x220]
je 0x435ac8
push str.UtilsJDDrv_x64.sys
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 8
push str.Pdrv_x64
jmp 0x435ade
push str.UtilsJDDrv.sys
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 8
push str.Pdrv_x86
lea ecx, [ebp - 0x440]
call fcn.004054d0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435bd5
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
mov dword [ebp - 0x42c], ecx
test ecx, ecx
jne 0x435b1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x435b6a
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push 0
push 1
push 1
push 0xf01ff
push str.JDDrv
push str.JDDrv
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x435b57
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x435b5e
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x454], eax
test eax, eax
jne 0x435b88
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x435bd5
push 0x10
push str.JDDrv
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x435ba8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x435bc9
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x435bbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x454]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x434], 0x434a30
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0x63
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x11
push eax
call fcn.0043d570
add esp, 4
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x428]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ldsComputerZ.set
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [ebp - 0x440]
cmp dword [esi - 4], 1
jle 0x435c55
push dword [esi - 0xc]
lea ecx, [ebp - 0x440]
call fcn.00404c60
mov esi, dword [ebp - 0x440]
lea eax, [ebp - 0x428]
push eax
push str.JDDrv
push str.JianDesk
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0xc
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x435c89
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00416070
mov ecx, eax
call fcn.00411410
test eax, eax
je 0x435cf1
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004647d0
mov eax, dword [ebp - 0x458]
add esp, 0xc
push str.UtilsJDeskHelper.exe
push dword [eax]
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.run_helper
call fcn.00431f60
add esp, 4
lea eax, [ebp - 0x428]
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push 0x4e8a2c
push eax
call fcn.0043e450
mov esi, dword [ebp - 0x44c]
mov ecx, esi
call fcn.00436280
push str.install_end.
call fcn.00431f60
mov eax, dword [ebp - 0x444]
mov dword [ebp - method.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.virtual_0], vtable.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.0
mov dword [ebp - 0x438], 0x434a00
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], edi
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x12
push eax
call fcn.0043d570
push str.real_install_end.
mov byte [ebp - 4], 0xc
call fcn.00431f60
lea ecx, [esi + 0x74]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
add esp, 0xc
mov dword [ebp - 0x42c], ecx
test ecx, ecx
je 0x435d71
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ecx, dword [esi + 0x68]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x435d82
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x435d93
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [ebp - 0x470]
call fcn.00441070
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x435dbd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.00458638
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004040c0
push 0x80004005
call fcn.004040c0
int3