Function at 0x40526b
Capabilities:
Create process on windows

Disassembly:
push 0xf4
mov eax, 0x4451bb
call fcn.004385c4
mov esi, ecx
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x30], edi
xor ebx, ebx
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x34], ebx
call fcn.004051f2
xor eax, eax
mov dword [ebp - 0x18], edi
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00410f60
lea ecx, [ebp - 0x98]
call fcn.00410f10
xor edi, edi
inc edi
test al, al
je 0x40556e
push str.sfx.reg
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xb0]
call fcn.00402634
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004025d1
push ebx
push edi
lea ecx, [ebp - 0xb0]
call fcn.00401df6
lea ecx, [ebp - 0x94]
call fcn.00414b80
push edi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x64]
call fcn.00411020
test al, al
je 0x40556e
push ebx
lea eax, [ebp - 0xb4]
mov word [ebp - 0xb8], 0xfeff
push eax
push 2
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x64]
call fcn.004110a0
test al, al
je 0x40556e
cmp dword [ebp - 0xb4], 2
jne 0x40556e
cmp dword [esi + 0x14], 8
lea edi, [esi + 0x10]
mov eax, dword [edi]
jb 0x405354
mov esi, dword [esi]
push ebx
lea ecx, [ebp - 0xb4]
add eax, eax
push ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.004110a0
test al, al
je 0x40556e
mov eax, dword [edi]
add eax, eax
cmp eax, dword [ebp - 0xb4]
jne 0x40556e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00415770
mov esi, 0x44c9e4
push esi
call fcn.004370ab
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402102
mov edi, 0x44c818
push edi
call fcn.004370ab
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040294a
cmp dword [ebp - 0x30], 8
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
cmp word [esi], bx
jne 0x4053cc
mov eax, ebx
jmp 0x4053d3
push esi
call fcn.004370ab
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040294a
push edi
call fcn.004370ab
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040294a
push 0x44c7d4
mov dword [ebp - 0xb8], ebx
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x405483
push 0x44c9ec
mov dword [ebp - 0xb4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
call ebx
push str.IsWow64Process
push esi
mov dword [ebp - 0xc0], eax
call ebx
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x40545f
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x40545f
lea ecx, [ebp - 0xb4]
push ecx
call eax
push eax
call dword [ebp - 0xc4]
neg eax
sbb eax, eax
and eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
jmp 0x405465
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x405481
push str.Wow64DisableWow64FsRedirection
push esi
call ebx
push str.Wow64RevertWow64FsRedirection
push esi
mov dword [ebp - 0xb8], eax
call ebx
mov edi, eax
xor ebx, ebx
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4054ac
test edi, edi
je 0x4054ac
lea ecx, [ebp - 0xbc]
push ecx
call eax
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
push 0x3c
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004374e0
xor eax, eax
mov dword [ebp - 0x100], 0x3c
add esp, 0xc
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0xfc], 0x140
mov dword [ebp - 0xf0], str.regedit.exe
mov dword [ebp - 0xe4], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
mov byte [ebp - 0xb5], al
test al, al
je 0x40554b
cmp dword [ebp - 0xc8], 0
je 0x40554b
push 0xffffffffffffffff
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x40555b
test edi, edi
je 0x40555b
push dword [ebp - 0xbc]
call edi
test esi, esi
je 0x405566
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov bl, byte [ebp - 0xb5]
jmp 0x40557a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00415770
xor esi, esi
lea ecx, [ebp - 0x2c]
push 0
inc esi
push esi
call fcn.00401df6
lea ecx, [ebp - 0x98]
call fcn.00410e40
push 0
push esi
lea ecx, [ebp - 0x44]
call fcn.00401df6
mov al, bl
call fcn.00438573
ret