Function at 0x411c40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x254
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
push 0x425
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push esi
push esi
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x14], edi
mov dword [ebx + 0x24], edi
je 0x411e74
call fcn.004568e0
test eax, eax
jne 0x411e74
mov edx, dword [0x4edfe8]
lea ecx, [esp + 0x58]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [0x4d9540]
lea ecx, [esp + 0x58]
test ecx, ecx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0xc], eax
je 0x411d1d
lea edx, [esp + 0x58]
shr edx, 0x10
jne 0x411ce3
xor eax, eax
lea ecx, [esp + 0x58]
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.0040ff70
jmp 0x411d1d
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, esi
je 0x411d1d
push edi
lea ecx, [esp + 0x10]
call fcn.004012f0
test eax, eax
je 0x411d1d
lea ecx, [edi + edi]
mov edi, dword [esp + 0xc]
mov eax, ecx
lea esi, [esp + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov ecx, dword [esp + 0xc]
push ebp
mov dword [esp + 0x24], esi
xor eax, eax
mov edx, dword [ecx - 0xc]
lea ebp, [ecx - 0xc]
cmp edx, 1
jg 0x411d38
cmp dword [ecx - 4], esi
jge 0x411dac
mov edi, dword [ecx - 8]
cmp edi, esi
mov dword [esp + 0x1c], edi
jle 0x411d45
mov eax, edi
push eax
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
jne 0x411d5b
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x411db6
lea ecx, [edi + edi + 2]
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [eax - 8], ecx
mov eax, dword [0x4d9544]
cmp ebp, eax
je 0x411da2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebp
call edi
test eax, eax
jg 0x411da8
push ebp
call fcn.004c5432
add esp, 4
xor esi, esi
jmp 0x411db2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor esi, esi
jmp 0x411db2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9540]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x24]
lea ecx, [esp + 0x14]
push eax
push str.RegisterAdminKey4_EEETWETRFSD_d
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x20], edx
call fcn.00401a70
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x20]
mov dword [esp + 0x34], edx
push eax
mov dword [esp + 0x30], 0x4d9e98
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop ebp
je 0x411e8f
mov ecx, dword [ebx + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x411e45
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x411e45
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x411e70
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x411e70
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov dword [0x4e3cd4], edi
call fcn.004111e0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x254
ret 0xc
mov dword [ebx + 0x24], esi
mov dword [0x4e3cd4], esi
mov eax, dword [ebx + 4]
push 0x425
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x411ee0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x411ee0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x411e81
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x411e81
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x254
ret 0xc