Function at 0x41a7e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52acc4
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, str._ZProgram::RegSvr64_Start
mov dword [ebp - 4], ebx
call fcn.00408b90
push 0x40
lea eax, [ebp - 0xf8]
push ebx
push eax
mov dword [ebp - 0xfc], 0x44
call fcn.00509940
add esp, 0xc
xor ecx, ecx
mov edi, 8
push edi
mov word [ebp - 0xcc], cx
xor edx, edx
push str.__i__s__
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
call fcn.00404a10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push ebx
lea eax, [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00404580
lea ecx, [ebp - 0x84]
push ecx
call fcn.00420700
add esp, 0x20
mov ecx, eax
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00408510
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00408160
cmp dword [ebp - 0x38], edi
jb 0x41a8d4
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004ad85d
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x70], edi
jb 0x41a8fc
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004ad85d
add esp, 4
push 0x53adb8
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00408420
add esp, 0xc
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00408160
cmp dword [ebp - 0x70], edi
jb 0x41a935
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004ad85d
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0041a680
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x68]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov esi, 0x53adbc
mov byte [ecx], bl
call fcn.00404580
lea eax, [ebp - 0x4c]
push eax
call fcn.00420700
mov edx, esi
push eax
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00408390
add esp, 0x24
mov byte [ebp - 4], 8
cmp dword [ebp - 0x38], edi
jb 0x41a9a9
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004ad85d
add esp, 4
xor edx, edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa0]
mov word [ebp - 0x4c], dx
push ecx
lea edx, [ebp - 0x84]
push edx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
call fcn.0041c6e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00408160
mov byte [ebp - 4], 8
cmp dword [ebp - 0x70], edi
jb 0x41a9f8
mov eax, dword [ebp - 0x84]
push eax
call fcn.004ad85d
add esp, 4
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x41aa03
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xfc]
push edx
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41aa4d
mov eax, dword [ebp - 0xb4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xb0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0xb4]
push edx
call edi
jmp 0x41aa61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, str._CreateProcess_Fail_ErrorCode:
call fcn.00408c90
add esp, 4
mov edi, str._ZProgram::RegSvr64_End
call fcn.00408b90
mov esi, 8
cmp dword [ebp - 0x8c], esi
jb 0x41aa87
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x54], 0x10
mov edi, 7
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], cx
jb 0x41aab3
mov edx, dword [ebp - 0x68]
push edx
call fcn.004ad85d
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x1c], esi
jb 0x41aad1
mov eax, dword [ebp - 0x30]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
jb 0x41aaef
mov edx, dword [ebp + 8]
push edx
call fcn.004ad85d
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00503edf
mov esp, ebp
pop ebp
ret