Function at 0x439710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f78a
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.00497d20
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 eax, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x109c], eax
mov dword [ebp - 0x108c], ebx
mov dword [ebp - 0x1088], ecx
mov dword [ebp - 4], ecx
mov edi, dword [eax + 0x2708]
mov esi, dword [edi]
cmp esi, edi
je 0x439811
mov edi, edi
mov ecx, dword [ebp + 0xc]
mov edx, 8
cmp dword [ebp + 0x20], edx
jae 0x439780
lea ecx, [ebp + 0xc]
cmp dword [esi + 0x20], edx
lea eax, [esi + 0xc]
jb 0x439790
mov eax, dword [eax]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4397b6
test dx, dx
je 0x4397b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4397b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x439790
xor eax, eax
jmp 0x4397bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43984c
cmp byte [esi + 0x45], 0
jne 0x439809
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x45], 0
jne 0x4397ee
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x4397ea
lea ebx, [ebx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x4397e0
mov esi, ecx
jmp 0x439809
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], 0
jne 0x439807
cmp esi, dword [eax + 8]
jne 0x439807
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x4397f7
mov esi, eax
cmp esi, edi
jne 0x439770
mov eax, dword [ebp + 0xc]
mov esi, 8
cmp dword [ebp + 0x20], esi
jae 0x439821
lea eax, [ebp + 0xc]
mov ecx, str.desktopvideoicon
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x439880
test dx, dx
je 0x439848
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x439880
add eax, 4
add ecx, 4
test dx, dx
jne 0x439826
xor eax, eax
jmp 0x439885
xor eax, eax
push 0xffffffffffffffff
push eax
add esi, 0x28
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push esi
mov ecx, ebx
mov word [ebx], ax
call fcn.00402530
cmp dword [ebp + 0x20], 8
jb 0x439d46
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x439d3d
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
push edi
push 0x4ab248
cmp eax, edi
jne 0x439d1e
xor edx, edx
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], edi
mov word [ebp - 0x102c], dx
call fcn.004027c0
mov byte [ebp - 4], 1
mov eax, dword [0x4cc964]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cc964
call edx
add eax, 0x10
mov dword [ebp - 0x1084], eax
mov eax, str.SoftwareHuofengHuofengGameWorld
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x439907
mov ecx, eax
movzx esi, cx
push edi
push esi
call fcn.004010e0
add esp, 8
cmp eax, edi
je 0x439919
push esi
push eax
lea ecx, [ebp - 0x1084]
call fcn.00402a10
jmp 0x439919
push 0x21
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x1084]
call fcn.00402b80
push 5
push str.Live
lea ecx, [ebp - 0x1084]
mov byte [ebp - 4], 3
call fcn.00402ab0
mov eax, dword [ebp - 0x1084]
lea edx, [ebp - 0x1088]
push edx
push 0x20019
push edi
push eax
push SysReAllocString
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x7fe
lea edx, [ebp - 0x80e]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x1098], 1
mov word [ebp - 0x810], cx
call sub.MSVCR100.dll_memset
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x100e]
mov edi, 0x800
push ecx
mov dword [ebp - 0x1094], edi
mov word [ebp - 0x1010], ax
call sub.MSVCR100.dll_memset
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0x18
lea edx, [ebp - 0x1090]
push edx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1098]
push ecx
mov ecx, dword [ebp - 0x1088]
push esi
lea edx, [ebp - 0x1094]
push edx
lea eax, [ebp - 0x810]
push eax
push esi
push ecx
mov dword [ebp - 0x1090], edi
call ebx
test eax, eax
jne 0x439aa6
cmp eax, 0xea
je 0x439aa6
test esi, esi
jne 0x439a24
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
jmp 0x439a00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439a00
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x810]
push edx
lea ecx, [ebp - 0x102c]
call fcn.004027c0
jmp 0x439a62
push 1
push 0x4b1be0
lea ecx, [ebp - 0x102c]
call fcn.004026a0
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439a40
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x102c]
call fcn.004026a0
lea ecx, [ebp - 0x1090]
push ecx
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x1098]
push eax
mov eax, dword [ebp - 0x1088]
push 0
lea ecx, [ebp - 0x1094]
push ecx
lea edx, [ebp - 0x810]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x1094], edi
mov dword [ebp - 0x1090], edi
call ebx
test eax, eax
je 0x4399e0
xor eax, eax
xor ecx, ecx
cmp dword [ebp - 0x101c], eax
jbe 0x439c89
push 1
mov word [ebp - 0x1048], cx
mov edi, 7
push 0x4aeba4
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], eax
call fcn.004027c0
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [ebp - 0x102c]
push edx
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 4
call fcn.00402d10
push 1
push 0x4aeba4
lea ecx, [ebp - 0x1048]
call fcn.004026a0
push 0x10
xor eax, eax
push str.desktopvideoicon
lea ecx, [ebp - 0x1080]
mov dword [ebp - 0x106c], edi
mov dword [ebp - 0x1070], esi
mov word [ebp - 0x1080], ax
call fcn.004027c0
push 0xffffffffffffffff
mov byte [ebp - 4], 5
xor ecx, ecx
push esi
lea edx, [ebp - 0x1048]
mov word [ebp - 0x1064], cx
push edx
lea ecx, [ebp - 0x1064]
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1054], esi
call fcn.00402530
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x109c]
lea eax, [ebp - 0x1080]
add esi, 0x2704
push eax
mov ecx, esi
call fcn.0043fdf0
push eax
push esi
lea ebx, [ebp - 0x10a0]
call fcn.0043f190
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1050], 8
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x439bac
mov ecx, dword [ebp - 0x1064]
push ecx
call ebx
add esp, 4
xor esi, esi
xor edx, edx
cmp dword [ebp - 0x106c], 8
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1054], esi
mov word [ebp - 0x1064], dx
jb 0x439bd8
mov eax, dword [ebp - 0x1080]
push eax
call ebx
add esp, 4
mov ecx, dword [ebp - 0x108c]
lea eax, [ebp - 0x1048]
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.004085c0
cmp dword [ebp - 0x1034], 8
jb 0x439c0a
mov ecx, dword [ebp - 0x1048]
push ecx
call ebx
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1084]
xor edx, edx
add eax, 0xfffffff0
mov word [ebp - 0x1048], dx
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439c45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x1018], 8
jb 0x439c5a
mov ecx, dword [ebp - 0x102c]
push ecx
call ebx
add esp, 4
xor edx, edx
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], esi
mov word [ebp - 0x102c], dx
jb 0x439c7e
mov eax, dword [ebp + 0xc]
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x108c]
jmp 0x439d48
mov edi, dword [ebp - 0x108c]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
lea edx, [ebp - 0x102c]
mov word [edi], cx
push edx
mov ecx, edi
call fcn.004085c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1084]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439cd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov ebx, 8
cmp dword [ebp - 0x1018], ebx
jb 0x439cef
mov ecx, dword [ebp - 0x102c]
push ecx
call esi
add esp, 4
xor edx, edx
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], 0
mov word [ebp - 0x102c], dx
cmp dword [ebp + 0x20], ebx
jb 0x439d1a
mov eax, dword [ebp + 0xc]
push eax
call esi
add esp, 4
mov eax, edi
jmp 0x439d48
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edi
mov word [ebx], cx
mov ecx, ebx
call fcn.004027c0
cmp dword [ebp + 0x20], esi
jb 0x439d46
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
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 0x20