Function at 0x438050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d3f6
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2dc], edi
mov dword [ebp - 0x304], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 2
push eax
push 0x2001f
push 0
push str.SoftwareTencentMobileGamePC
push 0x80000001
mov dword [ebp - 0x2e4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4382a5
mov esi, dword [ebp - 0x2e4]
push 0x208
push eax
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x2d4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2e4], 0x208
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2c4]
push eax
push 0
push 0x444350
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438190
mov eax, dword [ebp - 0x2c4]
cmp eax, 1
je 0x438175
cmp eax, 2
jne 0x438190
mov eax, dword [ebp - 0x2e4]
test eax, eax
je 0x4381fb
test al, 1
jne 0x438190
shr eax, 1
cmp word [ebp + eax*2 - 0x222], 0
je 0x438204
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0x238]
mov ebx, dword [ebp - 0x238]
cmp edx, 0x10
cmovae eax, ebx
cmp eax, 0x440703
ja 0x43827b
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x238]
cmp edx, 0x10
cmovae ecx, ebx
add eax, ecx
cmp eax, 0x440703
jbe 0x43827b
cmp edx, 0x10
lea ecx, [ebp - 0x238]
push 0
cmovae ecx, ebx
mov eax, 0x440703
sub eax, ecx
push eax
lea eax, [ebp - 0x238]
push eax
mov ecx, eax
call fcn.004018d8
jmp 0x438294
xor eax, eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00404ff7
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x2c0]
cmp byte [ebx], 0
jne 0x438236
xor eax, eax
jmp 0x438240
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
add esp, 4
push eax
push ebx
lea ecx, [ebp - 0x238]
call fcn.00401869
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x438267
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test esi, esi
je 0x43831e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43831e
cmp edx, 0x10
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x238]
cmovae eax, ebx
mov byte [eax], 0
test esi, esi
je 0x43831e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43831e
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0x238]
mov esi, dword [ebp - 0x238]
cmp edx, 0x10
cmovae eax, esi
cmp eax, 0x4406fb
ja 0x438305
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x238]
cmp edx, 0x10
cmovae ecx, esi
add eax, ecx
cmp eax, 0x4406fb
jbe 0x438305
cmp edx, 0x10
lea ecx, [ebp - 0x238]
push 0
cmovae ecx, esi
mov eax, 0x4406fb
sub eax, ecx
push eax
lea eax, [ebp - 0x238]
push eax
mov ecx, eax
call fcn.004018d8
jmp 0x43831e
cmp edx, 0x10
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x238]
cmovae eax, esi
mov byte [eax], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2d0]
push 0
mov byte [ebp - 0x2d8], 0
call fcn.0040e252
mov byte [ebp - 4], 6
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0x2f8], xmm0
mov byte [ebp - 0x300], 3
call fcn.004321ef
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c5]
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 8
test esi, esi
je 0x4383a1
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x43838a
mov eax, dword [esi]
jmp 0x43838c
mov eax, esi
push 0xffffffffffffffff
mov byte [eax], 0
mov ecx, esi
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.004018d8
mov ebx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2f8], esi
mov dword [ebp - 0x2f4], ebx
push str.keyword
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 9
call fcn.00408c8c
mov edx, eax
mov byte [ebp - 4], 6
mov cl, byte [edx]
mov byte [edx], 3
mov eax, dword [edx + 8]
mov byte [ebp - 0x300], cl
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2f4], ecx
lea ecx, [ebp - 0x300]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebx
mov dword [ebp - 0x2f8], eax
call fcn.0040e86c
movzx eax, byte [ebp + 8]
sub eax, 0
je 0x438493
sub eax, 1
je 0x43841c
sub eax, 1
jne 0x43842a
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x438423
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x438493
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp + 8]
call fcn.0040a03e
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [ebp + 8]
movq xmm0, qword [eax + 4]
movq qword [edx + 4], xmm0
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00409ece
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [ebp - 0x2d8]
movq xmm0, qword [eax + 4]
movq qword [edx + 4], xmm0
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.0042cb90
jmp 0x438493
mov al, byte [ebp - 0x2d8]
lea ecx, [ebp - 0x2d8]
mov byte [edi], al
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2d0]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x2cc]
mov dword [edi + 0xc], eax
movq qword [ebp - 0x2e0], xmm0
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2dc]
mov byte [ebp - 0x2d8], 0
mov dword [ebp - 0x2cc], eax
call fcn.0040e86c
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x4384ff
push 1
inc eax
push eax
push dword [ebp - 0x238]
call fcn.00401615
add esp, 0xc
lea ecx, [ebp + 8]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
call fcn.0040e86c
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431fdc
mov esp, ebp
pop ebp
ret