joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dec8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x462f9a
test ebx, ebx
je 0x462f9a
push 0x21
xor eax, eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004027c0
push 7
push str._setup_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004026a0
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462f30
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462f50
mov ecx, dword [ebp - 0x2c]
sub eax, edx
sar eax, 1
add eax, eax
cmp dword [ebp - 0x18], 8
jae 0x462f6d
lea ecx, [ebp - 0x2c]
push eax
push ebx
push 1
push 0x4ab248
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x18], 8
mov esi, eax
jb 0x462f96
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x462f9c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x4654f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992c6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x434], ebx
call fcn.004022c0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
push 0x3fe
lea ecx, [ebp - 0x40e]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 4], 1
mov word [ebp - 0x410], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
mov edx, dword [ebp - 0x430]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x434]
push ecx
push str.UserGameID
push edx
push SysReAllocString
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x438], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x4655ce
xor eax, eax
push ebx
mov word [esi], ax
push 0x4ab248
jmp 0x4655f7
xor ecx, ecx
lea eax, [ebp - 0x410]
mov word [esi], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4655e0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x410]
push edx
mov ecx, esi
call fcn.004027c0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465623
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x465640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49930e
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x434], ebx
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], ebx
call fcn.004022c0
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
push 0x3fe
lea ecx, [ebp - 0x40e]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 4], 2
mov word [ebp - 0x410], ax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x438], 0x400
jae 0x4656e3
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x438]
push edx
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x434]
push edx
push eax
mov eax, dword [ebp - 0x430]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x465746
xor ecx, ecx
push ebx
mov word [esi], cx
push 0x4ab248
mov ecx, esi
call fcn.004027c0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x46578b
xor edx, edx
lea eax, [ebp - 0x410]
mov word [esi], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x465754
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x410]
push eax
mov ecx, esi
call fcn.004027c0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465797
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x20], 8
jb 0x4657a9
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x4657d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992c6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x434], ebx
call fcn.004022c0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
push 0x3fe
lea ecx, [ebp - 0x40e]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 4], 1
mov word [ebp - 0x410], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
mov edx, dword [ebp - 0x430]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x434]
push ecx
push str.Region
push edx
push SysReAllocString
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x438], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x4658af
xor eax, eax
push 1
mov word [esi], ax
push 0x4b07fc
jmp 0x4658d7
xor ecx, ecx
lea eax, [ebp - 0x410]
mov word [esi], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4658c0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x410]
push edx
mov ecx, esi
call fcn.004027c0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465903
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x465920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992c6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x434], ebx
call fcn.004022c0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
push 0x3fe
lea ecx, [ebp - 0x40e]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 4], 1
mov word [ebp - 0x410], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
mov edx, dword [ebp - 0x430]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x434]
push ecx
push str.LastGameType
push edx
push SysReAllocString
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x438], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x4659ff
xor eax, eax
push 1
mov word [esi], ax
push 0x4b07fc
jmp 0x465a27
xor ecx, ecx
lea eax, [ebp - 0x410]
mov word [esi], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x465a10
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x410]
push edx
mov ecx, esi
call fcn.004027c0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465a53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x465a70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499348
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x10]
call fcn.004022c0
push 8
push str._setting
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402ab0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push str.bossflag
push eax
mov esi, 4
push SysReAllocString
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x465b09
mov edx, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push str.bossflag
push edx
push SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465b32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465b50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49937b
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x418], edi
call fcn.004022c0
push 8
push str._setting
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], edi
call fcn.00402ab0
push 0x3fe
lea ecx, [ebp - 0x40e]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x418], 1
mov word [ebp - 0x410], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x41c]
push edx
mov edx, dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
push ecx
push str.bosskey
push edx
push SysReAllocString
mov dword [ebp - 0x41c], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
cmp eax, edi
je 0x465c27
xor eax, eax
push 6
mov word [esi], ax
push str.CtrlQ
jmp 0x465c4c
xor ecx, ecx
lea eax, [ebp - 0x410]
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x465c35
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x410]
push edx
mov ecx, esi
call fcn.004027c0
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465c78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.00497792
mov esp, ebp
pop ebp
ret
Function at 0x465ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4993bb
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x418], ebx
call fcn.004022c0
push 6
push str.login
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], ebx
call fcn.00402ab0
push 0x3fe
lea ecx, [ebp - 0x40e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x418], 1
mov word [ebp - 0x410], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x41c]
push edx
mov edx, dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
push ecx
push edi
push edx
push SysReAllocString
mov dword [ebp - 0x41c], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x465d76
xor eax, eax
push ebx
mov word [esi], ax
push 0x4ab248
jmp 0x465d9b
xor ecx, ecx
lea eax, [ebp - 0x410]
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x465d84
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x410]
push edx
mov ecx, esi
call fcn.004027c0
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465dc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret

Function at 0x465df0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 8]
call fcn.004022c0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
push esi
push eax
push SysReAllocString
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x465e54
mov edx, dword [ebp - 8]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push esi
push edx
push SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465e76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x465e80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499348
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x10]
call fcn.004022c0
push 8
push str._setting
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402ab0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push esi
push eax
push SysReAllocString
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x465f19
mov edx, dword [ebp - 0x10]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push esi
push edx
push SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465f42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 8]
call fcn.004022c0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push ecx
xor esi, esi
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x465fa9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x465fe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f518
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x14]
call fcn.004022c0
push 8
xor esi, esi
push str._setting
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00402ab0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push ecx
push SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x46605a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46608a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4660a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f518
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x14]
call fcn.004022c0
push 6
xor esi, esi
push str.login
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00402ab0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push ecx
push SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x46611b
mov eax, dword [ebp - 0x10]
push 4
lea edx, [ebp + 8]
push edx
push 4
push esi
push str.loginflag
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46614b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x466160
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499348
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x10]
call fcn.004022c0
push 6
push str.login
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402ab0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push str.loginflag
push eax
mov esi, 4
push SysReAllocString
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4661f9
mov edx, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push str.loginflag
push edx
push SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x466240
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499348
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x10]
call fcn.004022c0
push 8
push str._setting
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402ab0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push str.bosscontrolwKey
push eax
mov esi, 4
push SysReAllocString
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4662d9
mov edx, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push str.bosscontrolwKey
push edx
push SysReAllocString
mov dword [ebp - 0x14], 2
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret