Function at 0x43c360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d392
mov eax, dword fs:[0]
push eax
mov eax, 0x16bc
call fcn.004689c0
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x16bc], eax
call fcn.004363f0
test eax, eax
je 0x43c92a
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
test eax, eax
je 0x43c92a
call eax
mov esi, eax
mov dword [ebp - 0x16c0], esi
test esi, esi
je 0x43c92a
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx]
call edx
test eax, eax
je 0x43c923
push dword [ebp - 0x16bc]
lea eax, [ebp - 0x1498]
push edi
push eax
call fcn.0043c960
add esp, 0xc
mov ecx, dword [ebp - 0x1488]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x43c4ec
inc ecx
lea eax, [ebp - 0x1498]
cmp dword [ebp - 0x1484], 0x10
push ecx
cmovae eax, dword [ebp - 0x1498]
push eax
push 3
push str.lua_push
push str.SOFTWAREHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub esp, 0x18
lea ecx, [ebp - 0x1498]
mov edi, esp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x1484], 0x10
mov eax, dword [ebp - 0x1488]
cmovae ecx, dword [ebp - 0x1498]
mov dword [ebp - 0x16bc], eax
mov dword [ebp - 0x16c4], ecx
cmp eax, 0x10
jae 0x43c480
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov dword [edi + 0x14], 0xf
jmp 0x43c4c2
mov esi, eax
mov ecx, edi
mov eax, SysReAllocString
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00416c50
mov ecx, dword [ebp - 0x16bc]
inc ecx
mov dword [edi], eax
push ecx
push dword [ebp - 0x16c4]
push eax
call fcn.00495730
mov eax, dword [ebp - 0x16bc]
add esp, 0xc
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x16c0]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x14b0]
push eax
call fcn.0043c1d0
add esp, 0x1c
cmp dword [ebp - 0x14a0], 0
mov byte [ebp - 4], 1
jne 0x43c503
lea ecx, [ebp - 0x14b0]
call fcn.0040a820
lea ecx, [ebp - 0x1498]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a820
jmp 0x43c923
push 0x10
push 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x55e770]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
call fcn.004c1e2e
push 0x10
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x55e768]
call fcn.004c1e2e
push 0x10
push 0x10
lea eax, [ebp - 0x40]
push eax
push dword [0x55e76c]
call fcn.004c1e2e
add esp, 0x30
lea ecx, [ebp - 0x1480]
push str._envExplain____r_n
call fcn.0043af10
push 0x5237a8
lea ecx, [ebp - 0x147c]
mov byte [ebp - 4], 2
call fcn.0043af10
push str._envExplain.strEnv__inst____r_n
lea ecx, [ebp - 0x1478]
mov byte [ebp - 4], 3
call fcn.0043af10
push 0x5237a8
lea ecx, [ebp - 0x1474]
mov byte [ebp - 4], 4
call fcn.0043af10
mov byte [ebp - 4], 5
call fcn.00425e70
mov ecx, eax
call fcn.0041abb0
push 0xfde9
lea ecx, [ebp - 0x15b4]
push dword [eax]
call fcn.0043b070
mov esi, dword [eax]
lea ecx, [ebp - 0x1470]
push str._envExplain.strPid___s____r_n
mov byte [ebp - 4], 6
call fcn.0043af10
push esi
lea ecx, [ebp - 0x146c]
mov byte [ebp - 4], 7
call fcn.0043af10
mov eax, dword [ebp - 0x15b4]
lea ecx, [ebp - 0x15b0]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x43c5ff
push eax
call fcn.004b1c63
add esp, 4
call fcn.00425e70
mov ecx, eax
call fcn.004197f0
push 0xfde9
lea ecx, [ebp - 0x16b8]
push dword [eax]
call fcn.0043b070
mov esi, dword [eax]
lea ecx, [ebp - 0x1468]
push str._envExplain.strFrom___s____r_n
mov byte [ebp - 4], 0xa
call fcn.0043af10
push esi
lea ecx, [ebp - 0x1464]
mov byte [ebp - 4], 0xb
call fcn.0043af10
mov eax, dword [ebp - 0x16b8]
lea ecx, [ebp - 0x16b4]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x43c660
push eax
call fcn.004b1c63
add esp, 4
push 0xfde9
call fcn.0043cdb0
push eax
lea ecx, [ebp - 0x15b4]
call fcn.0043b070
mov esi, dword [eax]
lea ecx, [ebp - 0x1460]
push str._envExplain.strAppVer___s____r_n
mov byte [ebp - 4], 0xe
call fcn.0043af10
push esi
lea ecx, [ebp - 0x145c]
mov byte [ebp - 4], 0xf
call fcn.0043af10
mov eax, dword [ebp - 0x15b4]
lea ecx, [ebp - 0x15b0]
mov byte [ebp - 4], 0x11
cmp eax, ecx
je 0x43c6b9
push eax
call fcn.004b1c63
add esp, 4
push str._envExplain.ludashi___s____r_n
lea ecx, [ebp - 0x1458]
call fcn.0043af10
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1454]
call fcn.0043af10
push str._envExplain.bizhi___s____r_n
lea ecx, [ebp - 0x1450]
mov byte [ebp - 4], 0x13
call fcn.0043af10
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x144c]
call fcn.0043af10
push str._envExplain.mgame___s____r_n
lea ecx, [ebp - 0x1448]
mov byte [ebp - 4], 0x15
call fcn.0043af10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x1444]
call fcn.0043af10
push 0x400
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 0x17
push 0
push eax
call fcn.00495040
add esp, 0xc
mov dword [ebp - 0x16bc], 8
xor edi, edi
lea esi, [ebp - 0x147c]
push dword [esi]
mov eax, 0x3ff
push dword [esi - 4]
sub eax, edi
push eax
lea eax, [ebp - 0x440]
add eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
test eax, eax
js 0x43c77b
add edi, eax
add esi, 8
sub dword [ebp - 0x16bc], 1
jne 0x43c756
push 0x800
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00495040
mov esi, dword [ebp - 0x16c0]
lea ecx, [ebp - 0x16c4]
add esp, 0xc
mov dword [ebp - 0x16c4], 0x7ff
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0xc40]
push ecx
push 1
lea ecx, [ebp - 0x440]
push ecx
mov ecx, esi
call dword [eax + 8]
push 0x43b660
push 8
push 8
lea eax, [ebp - 0x1480]
mov byte [ebp - 4], 1
push eax
call fcn.00468aff
push 0
lea eax, [ebp - 0x16c0]
mov dword [ebp - 0x16c0], 0
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push str.SOFTWAREHaloDesktoppush
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 0x16c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x800
lea eax, [ebp - 0x1440]
push 0
push eax
call fcn.00495040
add esp, 0xc
mov dword [ebp - 0x16c8], 0x7ff
cmp dword [ebp - 0x149c], 0x10
lea eax, [ebp - 0x16c8]
mov edx, dword [esi]
lea ecx, [ebp - 0x14b0]
cmovae ecx, dword [ebp - 0x14b0]
push eax
lea eax, [ebp - 0x1440]
push eax
mov eax, dword [ebp - 0x14a0]
inc eax
push eax
push ecx
mov ecx, esi
call dword [edx + 8]
mov edx, dword [ebp - 0x149c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x43c8b0
mov ecx, dword [ebp - 0x14b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43c8a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c94a
push edx
push ecx
call fcn.004685a9
add esp, 8
mov edx, dword [ebp - 0x1484]
mov dword [ebp - 0x14a0], 0
mov dword [ebp - 0x149c], 0xf
mov byte [ebp - 0x14b0], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x43c908
mov ecx, dword [ebp - 0x1498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43c8fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c94f
push edx
push ecx
call fcn.004685a9
add esp, 8
mov dword [ebp - 0x1488], 0
mov dword [ebp - 0x1484], 0xf
mov byte [ebp - 0x1498], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret
call fcn.004b0383
call fcn.004b0383
int3