Function at 0x42cd50
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486670
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.00468f70
test eax, eax
jne 0x42cda5
push 0x30
push 0x48f9d4
push 0x494558
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42d172
mov dword [ebp - 0x10], 0
xor ebx, ebx
mov byte [ebp - 4], 1
xor edi, edi
mov ecx, dword [edi + 0x4945d4]
mov esi, ecx
lea edx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42cdc0
sub esi, edx
sar esi, 1
push esi
push ecx
lea ecx, [ebp + 0xc]
call fcn.004689b0
push eax
call fcn.004707fb
add esp, 0xc
test eax, eax
je 0x42cdf4
add edi, 0xc
inc ebx
cmp edi, 0x3c
jb 0x42cdb4
jmp 0x42cf24
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1c], 0
call fcn.004689b0
lea edi, [ebx + ebx*2]
lea esi, [eax + esi*2]
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 2]
push eax
push dword [edi*4 + 0x4945dc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
mov ebx, eax
call fcn.00468d70
push eax
push esi
call fcn.00468f00
mov dword [ebp - 0x14], eax
mov esi, dword [edi*4 + 0x4945d8]
push esi
mov byte [ebp - 4], 2
call fcn.00468d70
push eax
push esi
call fcn.00468f00
add esp, 0x18
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00468a70
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.004688f0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42ce7f
call fcn.00468f40
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x42ce8f
call fcn.00468f40
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x42ce9f
call fcn.00468f40
test ebx, ebx
jne 0x42cebb
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4944f0
lea ecx, [ebp + 0xc]
call fcn.00468bd0
jmp 0x42cf24
push 0x5c
lea ecx, [ebp + 0xc]
call fcn.004689b0
push eax
call fcn.0046f665
add esp, 8
lea ecx, [ebp - 0x10]
add eax, 2
push eax
call fcn.00468930
lea ecx, [ebp - 0x10]
call fcn.00468f70
or esi, 0xffffffff
lea ecx, [ebp + 0xc]
sub esi, eax
call fcn.00468f70
add eax, esi
lea ecx, [ebp + 0xc]
push eax
call fcn.004689b0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00433af0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.004688f0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x42cf24
call fcn.00468f40
push 0x38
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push eax
call fcn.0046e870
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
add esp, 0xc
push 0
push 0x494704
call edi
mov esi, dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x42cf9d
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x3c
push eax
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x50], 0x48f23c
mov dword [ebp - 0x4c], 0x494724
mov dword [ebp - 0x40], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
push 0
push 0x494704
call edi
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x42cfb8
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x20]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24], eax
test ebx, ebx
jne 0x42cfd6
push 0x10
push 0x48f9d4
push 0x494740
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42d162
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42cfe5
push 1
jmp 0x42cfe7
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0x49479c
push 0
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x10288
push 0x111
push ebx
call edi
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x1e
push 0
push 0x25
push 0x100
push ebx
call edi
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
dec dword [ebp - 0x1c]
jne 0x42d045
lea ecx, [ebp + 0xc]
call fcn.004689b0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
movzx ecx, word [eax]
test cx, cx
je 0x42d0b9
mov ebx, dword [ebp - 0x18]
cmp cx, 0x5c
jne 0x42d087
push 0
push 0x27
push 0x100
jmp 0x42d09b
movzx eax, cx
push eax
call fcn.00470975
add esp, 4
push 0
push eax
push 0x102
push ebx
call edi
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
movzx ecx, word [eax]
test cx, cx
jne 0x42d076
mov ebx, dword [ebp - 0x14]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
lea ecx, [ebp - 0x10]
call fcn.00468f70
test eax, eax
je 0x42d154
push 0
push 0x4910ac
push 0
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
push 0
push 0x24
push 0x100
push dword [ebp - 0x18]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
lea ecx, [ebp - 0x10]
call fcn.004689b0
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
test ax, ax
je 0x42d154
mov ebx, dword [ebp - 0x1c]
movzx ecx, ax
push ecx
call fcn.00470975
add esp, 4
push 0
push eax
push 0x102
push dword [ebp - 0x18]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x24]
call esi
movzx eax, word [ebx + 2]
lea ebx, [ebx + 2]
test ax, ax
jne 0x42d125
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42d172
call fcn.00468f40
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x42d185
call fcn.00468f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret