Function at 0x4021ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
lea ebx, [ebp - 0x4c]
mov esi, str.regedit__s_c:_sysprep_sys_hide.reg
mov eax, 0x44fc08
call fcn.00444eb0
push 0x44
push 0
lea edx, [ebp - 0x118]
push edx
call fcn.00444aac
add esp, 0xc
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], 0x44
push 0x10
push 0
push ecx
call fcn.00444aac
mov word [ebx + 0x10], 8
xor eax, eax
xor edx, edx
mov dword [ebp - 4], eax
add esp, 0xc
inc dword [ebx + 0x1c]
lea ecx, [ebp - 8]
mov word [ebx + 0x10], 0x14
mov word [ebx + 0x10], 0x20
mov dword [ebp - 8], edx
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [eax + 0x1acc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov word [ebx + 0x10], 0x14
jmp 0x402488
mov word [ebx + 0x10], 0x38
lea edx, [esi + 0x231]
lea eax, [ebp - 0x10]
call fcn.0044dc50
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0044ddf0
push eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0044dd20
pop ecx
test cl, cl
je 0x4022e7
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0044dd20
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0044dd20
mov ecx, dword [ebx]
mov dword fs:[0], ecx
jmp 0x402668
mov word [ebx + 0x10], 0x44
xor eax, eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push edx
inc dword [ebx + 0x1c]
mov edx, 1
lea eax, [ebp - 4]
mov ecx, 2
call fcn.0044de3c
cmp dword [ebp - 0x14], 0
je 0x402316
mov edx, dword [ebp - 0x14]
jmp 0x40231c
lea edx, [esi + 0x232]
mov eax, 1
call fcn.004039b4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0044dd20
push 0x31
lea ecx, [esi + 0x233]
push ecx
cmp dword [ebp - 8], 0
je 0x40234a
mov eax, dword [ebp - 8]
jmp 0x402350
lea eax, [esi + 0x234]
push eax
mov eax, dword [ebp - 0x50]
call fcn.0042bbe0
push eax
call sub.USER32.DLL_MessageBoxA
dec eax
je 0x402390
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0044dd20
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0044dd20
mov ecx, dword [ebx]
mov dword fs:[0], ecx
jmp 0x402668
mov word [ebx + 0x10], 0x50
xor eax, eax
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
push edx
inc dword [ebx + 0x1c]
mov edx, 1
lea eax, [ebp - 4]
mov ecx, 2
call fcn.0044de3c
cmp dword [ebp - 0x18], 0
je 0x4023bf
mov edx, dword [ebp - 0x18]
jmp 0x4023c5
lea edx, [esi + 0x235]
xor eax, eax
call fcn.004039b4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0044dd20
mov word [ebx + 0x10], 0x5c
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x1acc]
mov edx, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x24]
push eax
lea edx, [esi + 0x236]
lea eax, [ebp - 0x1c]
call fcn.0044dc50
inc dword [ebx + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.0044dd64
lea eax, [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0x28]
inc dword [ebx + 0x1c]
pop edx
call fcn.0044dd64
lea edx, [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.0044dd50
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0044dd20
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0044dd20
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0044dd20
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0044dd20
mov word [ebx + 0x10], 0x2c
lea edx, [esi + 0x221]
lea eax, [ebp - 0xc]
call fcn.0044dc50
inc dword [ebx + 0x1c]
lea edx, [ebp - 4]
mov eax, dword [eax]
call fcn.0040364c
xor ecx, ecx
mov edx, 2
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
lea eax, [ebp - 0xc]
dec dword [ebx + 0x1c]
call fcn.0044dd20
pop ecx
test ecx, ecx
jne 0x402281
mov eax, dword [ebp - 4]
push eax
lea edx, [esi + 0x252]
push edx
lea ecx, [ebp - 0xd4]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0xd4]
push eax
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x402559
push 0x10
lea eax, [esi + 0x28d]
push eax
lea edx, [esi + 0x26f]
push edx
push 0
call sub.USER32.DLL_MessageBoxA
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0044dd20
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0044dd20
mov ecx, dword [ebx]
mov dword fs:[0], ecx
jmp 0x402668
push 0xffffffffffffffff
mov eax, dword [ebp - 0x128]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov edx, dword [ebp - 4]
push edx
lea ecx, [esi + 0x298]
push ecx
lea eax, [ebp - 0xd4]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0xd4]
push edx
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x4025c6
push 0x10
lea edx, [esi + 0x2ec]
push edx
lea ecx, [esi + 0x2c4]
push ecx
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x40263f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x128]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov edx, dword [ebp - 4]
push edx
lea ecx, [esi + 0x2f7]
push ecx
lea eax, [ebp - 0xd4]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0xd4]
push edx
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x402631
push 0x10
lea edx, [esi + 0x34d]
push edx
lea ecx, [esi + 0x323]
push ecx
push 0
call sub.USER32.DLL_MessageBoxA
push 0xffffffffffffffff
mov eax, dword [ebp - 0x128]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0044dd20
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0044dd20
mov ecx, dword [ebx]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret