Function at 0x44c510
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x258
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
xor edi, edi
mov edx, dword [edi + 0x68a6dc]
lea esi, [ebp - 0x260]
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x44c560
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c580
sub ecx, edx
lea esi, [ebp - 0x260]
mov edx, dword [0x68a6b8]
sar ecx, 1
lea esi, [esi + ecx*2]
nop
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x44c5a0
cmp dword [0x67dd40], 0
je 0x44c69b
push str.GetNativeSystemInfo
push 0x60f0b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
test eax, eax
je 0x44c691
xorps xmm0, xmm0
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x2a0]
movaps xmmword [ebp - 0x2a0], xmm0
push ecx
movaps xmmword [ebp - 0x290], xmm0
call eax
mov ax, word [ebp - 0x2a0]
cmp ax, 9
je 0x44c687
cmp ax, 6
je 0x44c687
cmp ax, 0xc
je 0x44c687
push str.IsWow64Process2
push 0x60fc74
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x44c67e
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x44c67e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x26c], cx
sete al
mov dword [0x686b64], eax
jmp 0x44c691
xor eax, eax
mov dword [0x686b64], eax
jmp 0x44c691
mov dword [0x686b64], 1
mov dword [0x67dd40], 0
cmp dword [0x686b64], 0
push 0
je 0x44c6f9
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
lea eax, [ebp - 0x260]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44c750
push 0x4e
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push 1
push eax
push eax
push dword [ebp - 0x268]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x268]
jmp 0x44c74a
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x260]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44c750
push 0x4e
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push 1
push eax
push eax
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 4
cmp edi, 0xc
jb 0x44c550
call fcn.004411c0
mov esi, dword [0x68a6c4]
test al, al
push 0
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0
push eax
push 0
je 0x44c7b2
push 0xf013f
push 0
push 0
push 0
push dword [0x68a6c0]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44c810
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c7a5
jmp 0x44c7e2
push 0xf003f
push 0
push 0
push 0
push dword [0x68a6c0]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44c810
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c7d7
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00478a88
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret