Function at 0x1003c200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d152
mov eax, dword fs:[0]
push eax
mov eax, 0x16bc
call fcn.10068860
mov eax, dword [0x1015746c]
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.10036290
test eax, eax
je 0x1003c7ca
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
test eax, eax
je 0x1003c7ca
call eax
mov esi, eax
mov dword [ebp - 0x16c0], esi
test esi, esi
je 0x1003c7ca
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx]
call edx
test eax, eax
je 0x1003c7c3
push dword [ebp - 0x16bc]
lea eax, [ebp - 0x1498]
push edi
push eax
call fcn.1003c800
add esp, 0xc
mov ecx, dword [ebp - 0x1488]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1003c38c
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 0x1003c320
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov dword [edi + 0x14], 0xf
jmp 0x1003c362
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.10016c50
mov ecx, dword [ebp - 0x16bc]
inc ecx
mov dword [edi], eax
push ecx
push dword [ebp - 0x16c4]
push eax
call fcn.10095620
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.1003c070
add esp, 0x1c
cmp dword [ebp - 0x14a0], 0
mov byte [ebp - 4], 1
jne 0x1003c3a3
lea ecx, [ebp - 0x14b0]
call fcn.1000a820
lea ecx, [ebp - 0x1498]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a820
jmp 0x1003c7c3
push 0x10
push 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x1015e770]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
call fcn.100c1d1e
push 0x10
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x1015e768]
call fcn.100c1d1e
push 0x10
push 0x10
lea eax, [ebp - 0x40]
push eax
push dword [0x1015e76c]
call fcn.100c1d1e
add esp, 0x30
lea ecx, [ebp - 0x1480]
push str._envExplain____r_n
call fcn.1003adb0
push 0x10123798
lea ecx, [ebp - 0x147c]
mov byte [ebp - 4], 2
call fcn.1003adb0
push str._envExplain.strEnv__inst____r_n
lea ecx, [ebp - 0x1478]
mov byte [ebp - 4], 3
call fcn.1003adb0
push 0x10123798
lea ecx, [ebp - 0x1474]
mov byte [ebp - 4], 4
call fcn.1003adb0
mov byte [ebp - 4], 5
call fcn.10025e70
mov ecx, eax
call fcn.1001abb0
push 0xfde9
lea ecx, [ebp - 0x15b4]
push dword [eax]
call fcn.1003af10
mov esi, dword [eax]
lea ecx, [ebp - 0x1470]
push str._envExplain.strPid___s____r_n
mov byte [ebp - 4], 6
call fcn.1003adb0
push esi
lea ecx, [ebp - 0x146c]
mov byte [ebp - 4], 7
call fcn.1003adb0
mov eax, dword [ebp - 0x15b4]
lea ecx, [ebp - 0x15b0]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x1003c49f
push eax
call fcn.100b1b53
add esp, 4
call fcn.10025e70
mov ecx, eax
call fcn.100197f0
push 0xfde9
lea ecx, [ebp - 0x16b8]
push dword [eax]
call fcn.1003af10
mov esi, dword [eax]
lea ecx, [ebp - 0x1468]
push str._envExplain.strFrom___s____r_n
mov byte [ebp - 4], 0xa
call fcn.1003adb0
push esi
lea ecx, [ebp - 0x1464]
mov byte [ebp - 4], 0xb
call fcn.1003adb0
mov eax, dword [ebp - 0x16b8]
lea ecx, [ebp - 0x16b4]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x1003c500
push eax
call fcn.100b1b53
add esp, 4
push 0xfde9
call fcn.1003cc50
push eax
lea ecx, [ebp - 0x15b4]
call fcn.1003af10
mov esi, dword [eax]
lea ecx, [ebp - 0x1460]
push str._envExplain.strAppVer___s____r_n
mov byte [ebp - 4], 0xe
call fcn.1003adb0
push esi
lea ecx, [ebp - 0x145c]
mov byte [ebp - 4], 0xf
call fcn.1003adb0
mov eax, dword [ebp - 0x15b4]
lea ecx, [ebp - 0x15b0]
mov byte [ebp - 4], 0x11
cmp eax, ecx
je 0x1003c559
push eax
call fcn.100b1b53
add esp, 4
push str._envExplain.ludashi___s____r_n
lea ecx, [ebp - 0x1458]
call fcn.1003adb0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1454]
call fcn.1003adb0
push str._envExplain.bizhi___s____r_n
lea ecx, [ebp - 0x1450]
mov byte [ebp - 4], 0x13
call fcn.1003adb0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x144c]
call fcn.1003adb0
push str._envExplain.mgame___s____r_n
lea ecx, [ebp - 0x1448]
mov byte [ebp - 4], 0x15
call fcn.1003adb0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x1444]
call fcn.1003adb0
push 0x400
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 0x17
push 0
push eax
call fcn.10094f30
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 0x1003c61b
add edi, eax
add esi, 8
sub dword [ebp - 0x16bc], 1
jne 0x1003c5f6
push 0x800
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.10094f30
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 0x1003b500
push 8
push 8
lea eax, [ebp - 0x1480]
mov byte [ebp - 4], 1
push eax
call fcn.1006899f
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.10094f30
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 0x1003c750
mov ecx, dword [ebp - 0x14b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c746
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c7ea
push edx
push ecx
call fcn.10068449
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 0x1003c7a8
mov ecx, dword [ebp - 0x1498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c79e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c7ef
push edx
push ecx
call fcn.10068449
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.10068438
mov esp, ebp
pop ebp
ret
call fcn.100b0273
call fcn.100b0273
int3