Function at 0x436080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebdbd
mov eax, dword fs:[0]
push eax
mov eax, 0x16c4
call fcn.004658d0
mov eax, dword [0x5315d4]
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 - 0x16c4], eax
call fcn.0042f950
test eax, eax
je 0x4366ea
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
test eax, eax
je 0x4366ea
call eax
mov esi, eax
mov dword [ebp - 0x16c8], esi
test esi, esi
je 0x4366ea
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx]
call edx
test eax, eax
je 0x4366e3
push dword [ebp - 0x16c4]
lea eax, [ebp - 0x1488]
push edi
push eax
call fcn.00436720
add esp, 0xc
mov ecx, dword [ebp - 0x1478]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x43620c
inc ecx
lea eax, [ebp - 0x1488]
cmp dword [ebp - 0x1474], 0x10
push ecx
cmovae eax, dword [ebp - 0x1488]
push eax
push 3
push str.lua_push
push str.SOFTWAREFirePhoenix
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub esp, 0x18
lea ecx, [ebp - 0x1488]
mov edi, esp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x1474], 0x10
mov eax, dword [ebp - 0x1478]
cmovae ecx, dword [ebp - 0x1488]
mov dword [ebp - 0x16c4], eax
mov dword [ebp - 0x16cc], ecx
cmp eax, 0x10
jae 0x4361a0
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov dword [edi + 0x14], 0xf
jmp 0x4361e2
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.00413dd0
mov ecx, dword [ebp - 0x16c4]
inc ecx
mov dword [edi], eax
push ecx
push dword [ebp - 0x16cc]
push eax
call fcn.00472300
mov eax, dword [ebp - 0x16c4]
add esp, 0xc
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x16c8]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x14b8]
push eax
call fcn.00435ef0
add esp, 0x1c
cmp dword [ebp - 0x14a8], 0
mov byte [ebp - 4], 1
jne 0x436223
lea ecx, [ebp - 0x14b8]
call fcn.0040e740
lea ecx, [ebp - 0x1488]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e740
jmp 0x4366e3
push 0x10
push 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x53753c]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x1498], xmm0
call fcn.0049f121
push 0x10
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x537534]
call fcn.0049f121
push 0x10
push 0x10
lea eax, [ebp - 0x1498]
push eax
push dword [0x537538]
call fcn.0049f121
add esp, 0x30
lea ecx, [ebp - 0x1470]
push str._envExplain____r_n
call fcn.00434da0
push 0x4ffd08
lea ecx, [ebp - 0x146c]
mov byte [ebp - 4], 2
call fcn.00434da0
push str._envExplain.strEnv__inst____r_n
lea ecx, [ebp - 0x1468]
mov byte [ebp - 4], 3
call fcn.00434da0
push 0x4ffd08
lea ecx, [ebp - 0x1464]
mov byte [ebp - 4], 4
call fcn.00434da0
mov byte [ebp - 4], 5
call fcn.00421090
mov ecx, eax
call fcn.00417d00
push 0xfde9
lea ecx, [ebp - 0x15bc]
push dword [eax]
call fcn.00434f00
mov esi, dword [eax]
lea ecx, [ebp - 0x1460]
push str._envExplain.strPid___s____r_n
mov byte [ebp - 4], 6
call fcn.00434da0
push esi
lea ecx, [ebp - 0x145c]
mov byte [ebp - 4], 7
call fcn.00434da0
mov eax, dword [ebp - 0x15bc]
lea ecx, [ebp - 0x15b8]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x436325
push eax
call fcn.0048ee56
add esp, 4
call fcn.00421090
mov ecx, eax
call fcn.00416a90
push 0xfde9
lea ecx, [ebp - 0x16c0]
push dword [eax]
call fcn.00434f00
mov esi, dword [eax]
lea ecx, [ebp - 0x1458]
push str._envExplain.strFrom___s____r_n
mov byte [ebp - 4], 0xa
call fcn.00434da0
push esi
lea ecx, [ebp - 0x1454]
mov byte [ebp - 4], 0xb
call fcn.00434da0
mov eax, dword [ebp - 0x16c0]
lea ecx, [ebp - 0x16bc]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x436386
push eax
call fcn.0048ee56
add esp, 4
push 0xfde9
call fcn.00436870
push eax
lea ecx, [ebp - 0x15bc]
call fcn.00434f00
mov esi, dword [eax]
lea ecx, [ebp - 0x1450]
push str._envExplain.strAppVer___s____r_n
mov byte [ebp - 4], 0xe
call fcn.00434da0
push esi
lea ecx, [ebp - 0x144c]
mov byte [ebp - 4], 0xf
call fcn.00434da0
mov eax, dword [ebp - 0x15bc]
lea ecx, [ebp - 0x15b8]
mov byte [ebp - 4], 0x11
cmp eax, ecx
je 0x4363df
push eax
call fcn.0048ee56
add esp, 4
push str._envExplain.ludashi___s____r_n
lea ecx, [ebp - 0x1448]
call fcn.00434da0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1444]
call fcn.00434da0
push str._envExplain.bizhi___s____r_n
lea ecx, [ebp - 0x1440]
mov byte [ebp - 4], 0x13
call fcn.00434da0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x143c]
call fcn.00434da0
push str._envExplain.mgame___s____r_n
lea ecx, [ebp - 0x1438]
mov byte [ebp - 4], 0x15
call fcn.00434da0
lea eax, [ebp - 0x1498]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x1434]
call fcn.00434da0
push 0x400
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x17
push 0
push eax
call fcn.00471c10
add esp, 0xc
mov dword [ebp - 0x16c4], 8
xor edi, edi
lea esi, [ebp - 0x146c]
nop
push dword [esi]
mov eax, 0x3ff
push dword [esi - 4]
sub eax, edi
push eax
lea eax, [ebp - 0x430]
add eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
test eax, eax
js 0x4364a5
add edi, eax
add esi, 8
sub dword [ebp - 0x16c4], 1
jne 0x436480
push 0x800
lea eax, [ebp - 0xc30]
push 0
push eax
call fcn.00471c10
mov esi, dword [ebp - 0x16c8]
lea ecx, [ebp - 0x16cc]
add esp, 0xc
mov dword [ebp - 0x16cc], 0x7ff
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0xc30]
push ecx
push 1
lea ecx, [ebp - 0x430]
push ecx
mov ecx, esi
call dword [eax + 8]
push 0x435590
push 8
push 8
lea eax, [ebp - 0x1470]
mov byte [ebp - 4], 1
push eax
call fcn.00465a1f
push str.SOFTWAREFirePhoenix
lea ecx, [ebp - 0x14a0]
mov dword [ebp - 0x16c8], 0
call fcn.0040e3c0
push 5
push str.push
lea ecx, [ebp - 0x14a0]
mov byte [ebp - 4], 0x18
call fcn.00414070
cmp dword [ebp - 0x148c], 8
lea ecx, [ebp - 0x16c8]
push 0
push ecx
push 0
push 0xf023f
push 0
push 0
lea eax, [ebp - 0x14a0]
cmovae eax, dword [ebp - 0x14a0]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 0x16c8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x148c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4365c4
mov ecx, dword [ebp - 0x14a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4365ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43670a
push edx
push ecx
call fcn.004654b9
add esp, 8
xor eax, eax
mov dword [ebp - 0x1490], 0
push 0x800
push eax
mov word [ebp - 0x14a0], ax
lea eax, [ebp - 0x1430]
push eax
mov dword [ebp - 0x148c], 7
call fcn.00471c10
add esp, 0xc
mov dword [ebp - 0x16d0], 0x7ff
cmp dword [ebp - 0x14a4], 0x10
lea eax, [ebp - 0x16d0]
mov edx, dword [esi]
lea ecx, [ebp - 0x14b8]
cmovae ecx, dword [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x1430]
push eax
mov eax, dword [ebp - 0x14a8]
inc eax
push eax
push ecx
mov ecx, esi
call dword [edx + 8]
mov edx, dword [ebp - 0x14a4]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x436670
mov ecx, dword [ebp - 0x14b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436666
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43670f
push edx
push ecx
call fcn.004654b9
add esp, 8
mov edx, dword [ebp - 0x1474]
mov dword [ebp - 0x14a8], 0
mov dword [ebp - 0x14a4], 0xf
mov byte [ebp - 0x14b8], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4366c8
mov ecx, dword [ebp - 0x1488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4366be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436714
push edx
push ecx
call fcn.004654b9
add esp, 8
mov dword [ebp - 0x1478], 0
mov dword [ebp - 0x1474], 0xf
mov byte [ebp - 0x1488], 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.004654a8
mov esp, ebp
pop ebp
ret
call fcn.0048d320
call fcn.0048d320
call fcn.0048d320
int3