Function at 0x406187
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x127c]
mov eax, 0x127c
call fcn.00448db0
push 0xffffffffffffffff
push 0x46b234
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48a9f8]
xor eax, ebp
mov dword [ebp + 0x1278], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov word [ebp + 0x1070], ax
xor edi, edi
xor ebx, ebx
lea eax, [ebp + 0x1072]
mov esi, ecx
push edi
inc ebx
push eax
mov dword [esi + 0xac], 2
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0x104
call fcn.004463d0
add esp, 0xc
cmp dword [esi + 0xa0], edi
je 0x4063da
xor eax, eax
push 0x7fe
mov word [ebp + 0x870], ax
lea eax, [ebp + 0x872]
push edi
push eax
call fcn.004463d0
add esp, 0xc
push str.346668791
lea ecx, [ebp + 0x1c]
call fcn.004031f0
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00404d41
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00404e7e
test al, al
je 0x406306
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1070]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46e578
push str.SoftwareTencentQQMicroGameBox_
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x406306
push 8
pop edi
cmp dword [esi + 0x354], edi
jb 0x406293
mov eax, dword [esi + 0x340]
jmp 0x406299
lea eax, [esi + 0x340]
lea ecx, [ebp + 0x1070]
push ecx
push eax
mov ecx, esi
call fcn.00403909
cmp eax, ebx
jne 0x4062c4
cmp dword [esi + 0x354], edi
jb 0x4062bc
mov edx, dword [esi + 0x340]
jmp 0x40631c
lea edx, [esi + 0x340]
jmp 0x40631c
jge 0x40637d
mov ecx, dword [ebp + 4]
cmp dword [ebp + 0x18], edi
jae 0x4062d5
lea ecx, [ebp + 4]
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], edi
jae 0x4062e0
lea eax, [ebp + 0x20]
push ecx
push eax
lea eax, [ebp + 0x1070]
push eax
push str.http:__apps.game.qq.com_wan_box_Version_WDVersionUpdate.php_version_suin_sapps_s
push 0xffffffffffffffff
lea eax, [ebp + 0x870]
push 0x400
push eax
call fcn.00448d88
add esp, 0x1c
jmp 0x40637d
push 8
lea eax, [esi + 0x33c]
pop edi
cmp dword [eax + 0x18], edi
jb 0x406319
mov edx, dword [eax + 4]
jmp 0x40631c
lea edx, [eax + 4]
lea eax, [esi + 0x320]
cmp dword [eax + 0x18], edi
jb 0x40632c
mov ecx, dword [eax + 4]
jmp 0x40632f
lea ecx, [eax + 4]
lea eax, [esi + 0x304]
cmp dword [eax + 0x18], edi
jb 0x40633f
mov eax, dword [eax + 4]
jmp 0x406342
add eax, 4
push edx
push ecx
push eax
push str.http:__apps.game.qq.com_wan_box_OtherServer_GetPackagePath_4_wd.php_typefullpackageappid_spid_sbinversion_s
push 0xffffffffffffffff
lea eax, [ebp + 0x870]
push 0x400
push eax
call fcn.00448d88
add esp, 0x1c
call fcn.00403f68
push dword [0x48a888]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x40637d
mov ecx, esi
call fcn.00405abe
lea eax, [ebp + 0x870]
push eax
lea ecx, [ebp + 0x54]
call fcn.004031f0
lea eax, [esi + 0x2f8]
push eax
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x18], esp
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.004013b0
pop ecx
pop ecx
lea ecx, [esi + 0x58]
call fcn.00404aaf
xor esi, esi
push esi
push ebx
lea ecx, [ebp + 0x54]
call fcn.00401a20
push esi
push ebx
lea ecx, [ebp]
call fcn.00401a20
lea ecx, [ebp + 0x1c]
push esi
push ebx
call fcn.00401a20
mov eax, ebx
jmp 0x4064ee
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1070]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46e578
push str.SoftwareTencentQQMicroGameBox_
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4064e5
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 7
call fcn.004019f0
mov dword [ebp - 4], 3
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x38]
push ecx
push dword [0x48a8ec]
mov ecx, eax
call dword [edx + 0xc]
xor eax, eax
push 0x7fe
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push edi
push eax
call fcn.004463d0
add esp, 0xc
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.00404b40
mov ecx, dword [ebp + 0x58]
push 8
pop edi
mov byte [ebp - 4], 4
cmp dword [ebp + 0x6c], edi
jae 0x406468
lea ecx, [ebp + 0x58]
mov eax, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], edi
jae 0x406473
lea eax, [ebp + 0x3c]
push ecx
push eax
lea eax, [ebp + 0x1070]
push eax
push str.http:__apps.game.qq.com_wan_box_Version_WDVersionUpdate.php_version_suin_sapps_s
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push 0x400
push eax
call fcn.00448d88
add esp, 0x1c
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x34]
call fcn.004031f0
lea eax, [esi + 0x2f8]
push eax
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], esp
push ecx
push eax
mov byte [ebp - 4], 5
call fcn.004013b0
pop ecx
pop ecx
lea ecx, [esi + 0x58]
call fcn.00404aaf
xor esi, esi
push esi
push ebx
lea ecx, [ebp - 0x34]
call fcn.00401a20
push esi
push ebx
lea ecx, [ebp + 0x54]
call fcn.00401a20
lea ecx, [ebp + 0x38]
jmp 0x4063cc
mov ecx, esi
call fcn.00405652
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1278]
xor ecx, ebp
call fcn.004463b6
add ebp, 0x127c
leave
ret