Function at 0x416010
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 0x416244
call fcn.0046fed0
test eax, eax
jne 0x416244
mov edx, dword [0x55e300]
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 [0x546560]
lea ecx, [esp + 0x58]
test ecx, ecx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0xc], eax
je 0x4160ed
lea edx, [esp + 0x58]
shr edx, 0x10
jne 0x4160b3
xor eax, eax
lea ecx, [esp + 0x58]
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.00413c90
jmp 0x4160ed
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, esi
je 0x4160ed
push edi
lea ecx, [esp + 0x10]
call fcn.00405530
test eax, eax
je 0x4160ed
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 0x416108
cmp dword [ecx - 4], esi
jge 0x41617c
mov edi, dword [ecx - 8]
cmp edi, esi
mov dword [esp + 0x1c], edi
jle 0x416115
mov eax, edi
push eax
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
jne 0x41612b
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x416186
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 [0x546564]
cmp ebp, eax
je 0x416172
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebp
call edi
test eax, eax
jg 0x416178
push ebp
call fcn.00531732
add esp, 4
xor esi, esi
jmp 0x416182
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor esi, esi
jmp 0x416182
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x546560]
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.00405cb0
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x20]
mov dword [esp + 0x34], edx
push eax
mov dword [esp + 0x30], 0x547140
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop ebp
je 0x41625f
mov ecx, dword [ebx + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x416215
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x416215
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416240
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x416240
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov dword [0x554054], edi
call fcn.004155b0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x254
ret 0xc
mov dword [ebx + 0x24], esi
mov dword [0x554054], 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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4162b0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4162b0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416251
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x416251
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x254
ret 0xc