Function at 0x41ff10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4516cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc20
mov eax, dword [0x47a42c]
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 - 0xb90], esi
test esi, esi
je 0x420313
push esi
push str.InstallConfigFile__ws_
call fcn.0041d160
push 0x462044
push esi
call fcn.0042f470
mov edi, eax
add esp, 0x10
test edi, edi
je 0x420313
push 2
push 0
push edi
call fcn.00432de1
push edi
call fcn.00433353
push edi
mov dword [ebp - 0xb80], eax
call fcn.004327aa
mov edi, dword [ebp - 0xb80]
add esp, 0x14
test edi, edi
je 0x420313
push 0x105
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.0042b800
add esp, 0xc
lea eax, [ebp - 0x158]
push 0
push 0
push 0x104
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push esi
push 0x462048
mov byte [ebp - 0x55], 0
call fcn.00420880
add esp, 0xc
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0xc2c]
push eax
call fcn.00408480
cmp byte [ebp - 0xc00], 0
mov dword [ebp - 4], 0
jne 0x4202db
push 0
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0xc2c]
call fcn.004098b0
test al, al
je 0x4202db
lea eax, [ebp - 0xc2c]
mov dword [ebp - 0xb8c], eax
lea ecx, [ebp - 0xb8c]
push str.forticlient_configuration
lea eax, [ebp - 0xb88]
push eax
call fcn.00409500
mov dword [ebp - 0xb80], eax
mov edi, dword [eax]
test edi, edi
je 0x4202d4
mov edx, dword [edi]
mov esi, dword [edx + 0x14]
mov ecx, esi
call dword [0x45343c]
mov ecx, edi
call esi
test eax, eax
je 0x4202d4
mov edi, dword [ebp - 0xb80]
mov edi, dword [edi]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x45343c]
mov ecx, edi
call esi
test eax, eax
je 0x4202d4
cmp dword [eax + 0x18], 0
je 0x4202d4
push 0x20a
lea eax, [ebp - 0x778]
push 0
push eax
call fcn.0042b800
lea eax, [ebp - 0x778]
push 0x104
push eax
call fcn.004191e0
add esp, 0x14
mov dword [ebp - 0xb80], 0
lea eax, [ebp - 0xb80]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0x20a
lea eax, [ebp - 0x364]
push 0
push eax
call fcn.0042b800
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0042b800
push 0x401
lea eax, [ebp - 0xb7c]
push 0
push eax
call fcn.0042b800
mov dword [ebp - 0xb84], 0x400
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push 0x4597c4
lea eax, [ebp - 0x50]
push 0x1f
push eax
call fcn.00410d00
lea ecx, [ebp - 0x50]
add esp, 0x34
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420140
push 0
lea eax, [ebp - 0xb84]
sub ecx, edx
push eax
lea eax, [ebp - 0xb7c]
sar ecx, 1
push eax
push ecx
lea eax, [ebp - 0x50]
push eax
call fcn.004036d0
push 0x208
lea eax, [ebp - 0x56c]
push 0
push eax
call fcn.0042b800
lea eax, [ebp - 0xb88]
mov dword [ebp - 0xb88], 0x104
push eax
lea eax, [ebp - 0x56c]
push eax
push dword [ebp - 0xb84]
lea eax, [ebp - 0xb7c]
push eax
call fcn.004032b0
lea eax, [ebp - 0x56c]
push eax
push dword [ebp - 0xb80]
lea eax, [ebp - 0x778]
push dword [ebp - 0xb90]
push str.FCConfig.exe
push eax
push str.__s_s___f___s___o_import_installer_config__i__d__q___NOIMPERSONATEUSER__c__s
lea eax, [ebp - 0x364]
push 0x104
push eax
call fcn.0041a9e0
xor eax, eax
mov dword [ebp - 0xbe4], 0x44
xorps xmm0, xmm0
mov word [ebp - 0xba2], ax
add esp, 0x50
mov word [ebp - 0xbb4], ax
lea eax, [ebp - 0x364]
movlpd qword [ebp - 0xbe0], xmm0
movlpd qword [ebp - 0xbd8], xmm0
movlpd qword [ebp - 0xbd0], xmm0
push eax
push str.InstallConfigFile____CreateProcess___commandline:__hs
movlpd qword [ebp - 0xbc8], xmm0
movlpd qword [ebp - 0xbc0], xmm0
movlpd qword [ebp - 0xbb2], xmm0
movlpd qword [ebp - 0xbaa], xmm0
movups xmmword [ebp - 0xba0], xmm0
mov dword [ebp - 0xbb8], 1
call fcn.0041d160
lea eax, [ebp - 0x364]
push eax
call fcn.00420880
add esp, 0xc
lea eax, [ebp - 0xba0]
push eax
lea eax, [ebp - 0xbe4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x364]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4202be
push 0xffffffffffffffff
push dword [ebp - 0xba0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xba0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xb9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.imported
jmp 0x4202e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.failed_to_import_last_error__d
call fcn.00420880
add esp, 8
jmp 0x4202e8
push str.Config_file_is_a_stub
jmp 0x4202e0
push str.Config_file_is_invalid
call fcn.00420880
add esp, 4
mov eax, dword [ebp - 0xbf8]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x47b814
je 0x420308
push eax
call fcn.00428a7f
add esp, 4
lea ecx, [ebp - 0xc2c]
call fcn.00408750
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.00428a27
mov esp, ebp
pop ebp
ret