Function at 0x401ac0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40b032
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x40f474]
xor eax, esp
mov dword [esp + 0x3fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40f474]
xor eax, esp
push eax
lea eax, [esp + 0x414]
mov dword fs:[0], eax
mov esi, dword [esp + 0x424]
xor ebp, ebp
cmp esi, ebp
je 0x401d7c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401b11
sub eax, edx
je 0x401d7c
push 0x18f
lea eax, [esp + 0x285]
push ebp
push eax
mov byte [esp + 0x28c], cl
call fcn.00402ba0
push 0x18f
lea ecx, [esp + 0x101]
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov byte [esp + 0x108], 0
call fcn.00402ba0
mov eax, esi
add esp, 0x18
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401b72
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.00401930
push 1
push 0xffffffffffffffff
push 0x40c208
lea ecx, [esp + 0x70]
mov dword [esp + 0x428], ebp
call fcn.00401500
mov edi, eax
cmp edi, 0xffffffff
jne 0x401bb4
mov edi, dword [esp + 0x78]
mov ebx, 0x10
jmp 0x401dbf
push 0xffffffffffffffff
push edi
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x70]
call fcn.00401a80
mov ebx, 0x10
mov byte [esp + 0x41c], 1
cmp dword [eax + 0x18], ebx
jb 0x401bdf
mov eax, dword [eax + 4]
jmp 0x401be2
add eax, 4
push eax
call fcn.00401290
add esp, 4
movzx esi, ax
mov byte [esp + 0x41c], 0
cmp dword [esp + 0xd0], ebx
jb 0x401c0f
mov eax, dword [esp + 0xbc]
push eax
call fcn.00402111
add esp, 4
push 0x190
lea ecx, [esp + 0xf4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
test eax, eax
je 0x401d73
push esi
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
lea edx, [esp + 0xf0]
mov eax, edx
push eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x24], edx
call fcn.00401a40
mov eax, str._Key:
mov byte [esp + 0x41c], 2
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401c60
sub eax, edx
push eax
push 0xffffffffffffffff
push str._Key:
lea ecx, [esp + 0x8c]
call fcn.00401450
mov esi, eax
cmp esi, 0xffffffff
je 0x401dab
mov eax, str._Key:
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401c90
mov ecx, dword [esp + 0x94]
sub eax, edx
sub ecx, eax
sub ecx, esi
push ecx
add eax, esi
push eax
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x8c]
call fcn.00401a80
mov eax, dword [esp + 0xbc]
mov byte [esp + esi + 0xf0], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0xd0], ebx
jae 0x401ce3
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push eax
push 0x80000002
call fcn.004011d0
add esp, 0x24
cmp eax, ebp
jne 0x401d3f
mov eax, 0x40c1fc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401d10
sub eax, edx
push eax
mov eax, dword [esp + 0x1c]
push 0x40c1fc
push 1
push ebp
push str.DotNetFrameworkRequired
push eax
call fcn.004011a0
mov ecx, dword [esp + 0x30]
add esp, 0x18
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xf0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401d50
sub eax, edx
lea ecx, [esp + 0xb8]
jne 0x401da6
call fcn.00401820
lea ecx, [esp + 0x80]
call fcn.00401820
lea ecx, [esp + 0x64]
call fcn.00401820
xor eax, eax
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3fc]
xor ecx, esp
call fcn.00402b89
add esp, 0x40c
ret
call fcn.00401820
lea ecx, [esp + 0x80]
mov byte [esp + 0x41c], 0
call fcn.00401820
push edi
push ebp
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x70]
call fcn.00401a80
mov byte [esp + 0x41c], 3
cmp dword [eax + 0x18], ebx
jb 0x401de4
mov eax, dword [eax + 4]
jmp 0x401de7
add eax, 4
push eax
call fcn.00401290
add esp, 4
movzx esi, ax
mov byte [esp + 0x41c], 0
cmp dword [esp + 0x98], ebx
jb 0x401e14
mov eax, dword [esp + 0x84]
push eax
call fcn.00402111
add esp, 4
cmp si, bp
je 0x401d73
push 0x190
lea ecx, [esp + 0x284]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
test eax, eax
je 0x401d73
push esi
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
lea edx, [esp + 0x280]
push edx
lea ecx, [esp + 0xa0]
call fcn.00401a40
mov eax, dword [str.MAGIX_InstallLauncher_atom]
push ebp
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x424], 4
call fcn.00401630
test eax, eax
jne 0x401f4a
mov eax, dword [str.MAGIX_InstallLauncher_atom]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e80
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0xa4]
call fcn.004015a0
push 0xffffffffffffffff
push 0x40c208
lea ecx, [esp + 0xa4]
call fcn.00401660
mov esi, eax
cmp esi, 0xffffffff
je 0x401f4a
push esi
push ebp
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0xa8]
call fcn.00401a80
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x88]
mov ebx, 5
push edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x428], bl
call fcn.00401a80
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x401efd
mov eax, dword [eax + 4]
jmp 0x401f00
add eax, 4
push 0xa
push ebp
push eax
call fcn.004026ab
add esp, 0xc
lea ecx, [esp + 0x80]
mov esi, eax
call fcn.00401820
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0xec], edi
jae 0x401f31
lea eax, [esp + 0xd8]
push eax
call fcn.00401240
add esp, 4
cmp eax, esi
je 0x401f56
lea ecx, [esp + 0xd4]
call fcn.00401820
lea ecx, [esp + 0x9c]
jmp 0x401d6e
push 0x3c
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.00402ba0
add esp, 0xc
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x440
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], str.open
cmp dword [esp + 0xec], edi
jb 0x401f98
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x38], ecx
jmp 0x401fa3
lea edx, [esp + 0xd8]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x402078
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x90]
push edx
call edi
test eax, eax
je 0x40201a
mov edi, edi
lea eax, [esp + 0x80]
push eax
call ebp
lea ecx, [esp + 0x80]
push ecx
call ebx
push 1
push 0
push 0
push 0
lea edx, [esp + 0x90]
push edx
call edi
test eax, eax
jne 0x401ff0
mov eax, dword [esp + 0x60]
push 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
test esi, esi
je 0x402035
cmp esi, 0xffffffff
jne 0x40203f
mov dword [esp + 0x14], 0
xor esi, esi
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x402067
test esi, esi
jne 0x401fd8
cmp dword [esp + 0x14], 0x103
je 0x401fd8
jmp 0x40206d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xd4]
call fcn.00401820
lea ecx, [esp + 0x9c]
call fcn.00401820
lea ecx, [esp + 0x64]
call fcn.00401820
mov eax, esi
jmp 0x401d7e