Function at 0x451750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa5c
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xa2c], ecx
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
test eax, eax
je 0x45178d
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
cmp dword [eax + 0x1e], 0x1000
jae 0x451795
or eax, 0xffffffff
jmp 0x45209c
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
cmp dword [eax + 0x1a], 0
je 0x4517ad
xor eax, eax
jmp 0x45209c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
mov dword [eax + 0x1a], esi
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
mov dword [eax + 8], 0x13
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
mov dword [eax + 0x5fe], 1
push str.CURRENT_USERSoftwareYouKuiKuAcc
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAccCmcPath
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAccTmPath
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAccpeer_id
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAcc_version
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAcc_sdl_pac_format
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAcc_sdl_pac_domain
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAccdl_pac_domain_refuse
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAcc_sdl_cmc_identifier
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAcc_sdl_start_stub_hint
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAcc_sdl_start_stub_timeval
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAcc_sdl_pac_hint
call fcn.004513c0
add esp, 4
push str.CURRENT_USERSoftwareYouKuiKuAccurl_dispatch_type
call fcn.004513c0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x5fcacc
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451f54
xor ecx, ecx
mov word [ebp - 0x408], cx
push 0x3fe
push 0
lea edx, [ebp - 0x406]
push edx
call fcn.00496f40
add esp, 0xc
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0x400
mov dword [ebp - 0x610], 1
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x610]
push edx
push 0
push 0x5fcaf8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x4519ae
cmp dword [ebp - 0x610], 1
jne 0x4519ae
lea ecx, [ebp - 0x408]
mov dword [ebp - 0xa30], ecx
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x12c
mov dword [ebp - 0xa34], eax
mov edx, dword [ebp - 0xa34]
mov dword [ebp - 0xa38], edx
mov eax, dword [ebp - 0xa30]
mov cx, word [eax]
mov word [ebp - 0xa3a], cx
mov edx, dword [ebp - 0xa34]
mov ax, word [ebp - 0xa3a]
mov word [edx], ax
mov ecx, dword [ebp - 0xa30]
add ecx, 2
mov dword [ebp - 0xa30], ecx
mov edx, dword [ebp - 0xa34]
add edx, 2
mov dword [ebp - 0xa34], edx
cmp word [ebp - 0xa3a], 0
jne 0x451966
xor eax, eax
mov word [ebp - 0x408], ax
mov dword [ebp - 0x614], 0x400
mov dword [ebp - 0x610], 1
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0x610]
push eax
push 0
push str.TmPath
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451a7f
cmp dword [ebp - 0x610], 1
jne 0x451a7f
lea edx, [ebp - 0x408]
mov dword [ebp - 0xa40], edx
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x602
mov dword [ebp - 0xa44], eax
mov eax, dword [ebp - 0xa44]
mov dword [ebp - 0xa48], eax
mov ecx, dword [ebp - 0xa40]
mov dx, word [ecx]
mov word [ebp - 0xa4a], dx
mov eax, dword [ebp - 0xa44]
mov cx, word [ebp - 0xa4a]
mov word [eax], cx
mov edx, dword [ebp - 0xa40]
add edx, 2
mov dword [ebp - 0xa40], edx
mov eax, dword [ebp - 0xa44]
add eax, 2
mov dword [ebp - 0xa44], eax
cmp word [ebp - 0xa4a], 0
jne 0x451a37
mov byte [ebp - 0x608], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x607]
push ecx
call fcn.00496f40
add esp, 0xc
mov dword [ebp - 0x614], 0x200
mov dword [ebp - 0x610], 1
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x608]
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0
push str.peer_id
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451b15
cmp dword [ebp - 0x610], 1
jne 0x451b15
push 0x14
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x58
mov ecx, eax
call fcn.0047cc70
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.00451040
add esp, 0xc
mov byte [ebp - 0x608], 0
mov dword [ebp - 0x614], 0x400
mov dword [ebp - 0x610], 1
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x608]
push edx
lea eax, [ebp - 0x610]
push eax
push 0
push 0x5fcb20
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451b8a
cmp dword [ebp - 0x610], 1
jne 0x451b8a
lea edx, [ebp - 0x608]
push edx
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x12
mov ecx, eax
call fcn.00450e70
mov byte [ebp - 0x608], 0
mov dword [ebp - 0x614], 0x400
mov dword [ebp - 0x610], 1
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x610]
push edx
push 0
push str.sdl_pac_format
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451c08
cmp dword [ebp - 0x610], 1
jne 0x451c08
lea ecx, [ebp - 0x608]
push ecx
push 0x1e
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x3d2
push eax
mov ecx, dword [ebp - 0xa2c]
call fcn.004520b0
mov byte [ebp - 0x608], 0
mov dword [ebp - 0x614], 0x400
mov dword [ebp - 0x610], 1
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x608]
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0
push str.sdl_pac_domain
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451c89
cmp dword [ebp - 0x610], 1
jne 0x451c89
lea eax, [ebp - 0x608]
push eax
push 0xfe
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x3f2
push eax
mov ecx, dword [ebp - 0xa2c]
call fcn.004520b0
mov byte [ebp - 0x608], 0
mov dword [ebp - 0x614], 0x400
mov dword [ebp - 0x610], 1
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x608]
push edx
lea eax, [ebp - 0x610]
push eax
push 0
push str.sdl_pac_domain_refuse
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451d0a
cmp dword [ebp - 0x610], 1
jne 0x451d0a
lea edx, [ebp - 0x608]
push edx
push 0xfe
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x4f2
push eax
mov ecx, dword [ebp - 0xa2c]
call fcn.004520b0
mov byte [ebp - 0x608], 0
mov dword [ebp - 0x614], 0x400
mov dword [ebp - 0x610], 1
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x610]
push edx
push 0
push str.sdl_cmc_identifier
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451d88
cmp dword [ebp - 0x610], 1
jne 0x451d88
lea ecx, [ebp - 0x608]
push ecx
push 0x7e
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0xac
push eax
mov ecx, dword [ebp - 0xa2c]
call fcn.004520b0
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 4
mov dword [ebp - 0x610], 4
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0
push str.sdl_start_stub_hint
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451dfb
cmp dword [ebp - 0x610], 4
jne 0x451dfb
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
mov ecx, dword [ebp - 0x618]
mov dword [eax + 0x5f2], ecx
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 4
mov dword [ebp - 0x610], 4
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0
push str.sdl_start_stub_timeval
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451e6e
cmp dword [ebp - 0x610], 4
jne 0x451e6e
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
mov ecx, dword [ebp - 0x618]
mov dword [eax + 0x5fa], ecx
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 4
mov dword [ebp - 0x610], 4
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0
push str.sdl_pac_hint
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451ee1
cmp dword [ebp - 0x610], 4
jne 0x451ee1
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
mov ecx, dword [ebp - 0x618]
mov dword [eax + 0x3ce], ecx
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 4
mov dword [ebp - 0x610], 4
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0
push str.url_dispatch_type
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x451f54
cmp dword [ebp - 0x610], 4
jne 0x451f54
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
mov ecx, dword [ebp - 0x618]
mov dword [eax + 0x8ce], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
push str.HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionApp_PathsTudouVa.exe
call fcn.004513c0
add esp, 4
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsTudouVa.exe
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452086
xor ecx, ecx
mov word [ebp - 0xa18], cx
push 0x3fe
push 0
lea edx, [ebp - 0xa16]
push edx
call fcn.00496f40
add esp, 0xc
mov dword [ebp - 0xa28], 0
mov dword [ebp - 0xa24], 0x400
mov dword [ebp - 0xa20], 1
lea eax, [ebp - 0xa24]
push eax
lea ecx, [ebp - 0xa18]
push ecx
lea edx, [ebp - 0xa20]
push edx
push 0
push 0x5fcbc4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa1c], eax
cmp dword [ebp - 0xa1c], 0
jne 0x452086
cmp dword [ebp - 0xa20], 1
jne 0x452086
lea ecx, [ebp - 0xa18]
mov dword [ebp - 0xa50], ecx
mov ecx, dword [ebp - 0xa2c]
call fcn.004465d0
add eax, 0x8d2
mov dword [ebp - 0xa54], eax
mov edx, dword [ebp - 0xa54]
mov dword [ebp - 0xa58], edx
mov eax, dword [ebp - 0xa50]
mov cx, word [eax]
mov word [ebp - 0xa5a], cx
mov edx, dword [ebp - 0xa54]
mov ax, word [ebp - 0xa5a]
mov word [edx], ax
mov ecx, dword [ebp - 0xa50]
add ecx, 2
mov dword [ebp - 0xa50], ecx
mov edx, dword [ebp - 0xa54]
add edx, 2
mov dword [ebp - 0xa54], edx
cmp word [ebp - 0xa5a], 0
jne 0x45203e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret