Function at 0x415130
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7804]
mov eax, 0x7804
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x520450
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x7800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov byte [ebp - 0x11], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x200]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415186
sub eax, edx
sar eax, 1
jne 0x4151b0
push str.Fail_____Invalid_Parameter_in_CCmdProcessor::FNT_SERIAL_NMBR_EXECUTE____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
xor eax, eax
jmp 0x4154a1
push 0x800
push ebx
lea eax, [ebp + 0x6800]
push eax
call fcn.004fd670
push 0x800
push ebx
lea ecx, [ebp + 0x7000]
push ecx
call fcn.004fd670
push 0x800
push ebx
lea edx, [ebp + 0x6000]
push edx
call fcn.004fd670
push 0x2000
push ebx
lea eax, [ebp + 0x2000]
push eax
call fcn.004fd670
add esp, 0x30
push ebx
push 0x400
lea ecx, [ebp + 0x6800]
push ecx
push esi
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
je 0x415233
push 0x3ff
push esi
push 0x400
lea edx, [ebp + 0x6800]
push edx
call fcn.004fa71b
add esp, 0x10
lea esi, [edi + 0xa00]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415240
sub eax, edx
sar eax, 1
je 0x415289
push ebx
push 0x400
lea eax, [ebp + 0x7000]
push eax
push esi
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
je 0x415289
push 0x3ff
push esi
push 0x400
lea ecx, [ebp + 0x7000]
push ecx
call fcn.004fa71b
add esp, 0x10
push ebx
push 0x400
lea edx, [ebp + 0x6000]
push edx
lea eax, [edi + 0x1200]
push eax
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
jne 0x4152c8
push str.HIDE
lea ecx, [ebp + 0x6000]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x4152c8
mov byte [ebp - 0x11], bl
push 0x2000
push ebx
lea edx, [ebp + 0x4000]
push edx
call fcn.004fd670
push str.InstallingModel
push 0x538d3c
lea edx, [ebp + 0x4000]
call fcn.00407e30
push 0x2000
push ebx
lea eax, [ebp]
push eax
call fcn.004fd670
call fcn.004290d0
mov esi, 1
push esi
push 0x2000
lea ecx, [ebp]
push ecx
push str.Serial
mov edx, dword [eax + 0xe230]
push edx
lea edx, [ebp + 0x4000]
call fcn.004920e0
add esp, 0x34
test eax, eax
jne 0x415359
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415336
sub eax, edx
sar eax, 1
je 0x415359
push str.Success_to_get_Serial_Number____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
lea eax, [ebp + 0x7000]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415362
sub eax, edx
sar eax, 1
je 0x4153b0
push 0x3ff
lea eax, [ebp]
push eax
push 0x400
lea ecx, [ebp + 0x7000]
push ecx
call fcn.004fa558
lea edx, [ebp + 0x7000]
push edx
lea eax, [ebp + 0x6800]
push eax
push str._s__s
lea edx, [ebp + 0x2000]
call fcn.00407e30
add esp, 0x1c
jmp 0x4153d0
push 0xfff
lea ecx, [ebp + 0x6800]
push ecx
push 0x1000
lea edx, [ebp + 0x2000]
push edx
call fcn.004fa71b
add esp, 0x10
push 0x44
push ebx
lea eax, [ebp - 0x6c]
push eax
call fcn.004fd670
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp byte [ebp - 0x11], bl
je 0x415405
or dword [ebp - 0x40], esi
mov word [ebp - 0x3c], si
jmp 0x41540d
or dword [ebp - 0x40], 0xfffffffe
mov word [ebp - 0x3c], bx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 0x20
push esi
push ebx
push ebx
lea ecx, [ebp + 0x2000]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x415475
lea edx, [ebp + 0x2000]
push edx
push str.Success_to_excute_file_in_CCmdProcessor::FNT_SERIAL_NMBR_EXECUTE_______s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov eax, dword [edi + 0x3200]
or eax, dword [edi + 0x3204]
je 0x415495
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.End_Wait__
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
jmp 0x415495
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp + 0x2000]
push edx
push str.Failed_to_excute_file_in_CCmdProcessor::FNT_SERIAL_NMBR_EXECUTE_______s___error_lu
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7800]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x7804
mov esp, ebp
pop ebp
ret