Function at 0x465230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c388
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4b0070]
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 edi, ecx
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x278], edi
lea esi, [edi + 0x18]
mov dword [ebp - 0x268], esi
call fcn.00401cf0
mov ecx, eax
test ecx, ecx
je 0x465567
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 4]
call fcn.00401cf0
mov ecx, eax
test ecx, ecx
je 0x465571
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push esi
mov byte [ebp - 4], 1
call fcn.00466180
mov eax, dword [0x4b3430]
test eax, eax
jne 0x46531f
mov eax, 1
mov ecx, 0x4b3430
xchg dword [ecx], eax
test eax, eax
jne 0x46531a
push 0x20a
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00469580
add esp, 0xc
lea eax, [ebp - 0x260]
push 0x105
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.00459800
add esp, 0xc
mov dword [0x4b3430], 2
jmp 0x46533d
mov eax, dword [0x4b3430]
cmp eax, 2
je 0x46533d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0
call esi
cmp dword [0x4b3430], 2
jne 0x465330
push dword [0x4b342c]
push dword [0x4b3428]
push dword [0x4b3424]
push dword [0x4b3420]
push 0x4a6250
push ebx
call fcn.004663e0
add esp, 0x18
mov dword [ebp - 4], 2
mov dword [edi + 5], 0x1000000
mov byte [edi + 4], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
lea eax, [edi + 0x28]
mov dword [edi], vtable.CHttpHandle.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
lea esi, [edi + 0x40]
mov dword [ebp - 0x268], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00467c71
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 5
call fcn.00401cf0
mov ecx, eax
test ecx, ecx
je 0x465567
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x54], eax
mov byte [ebp - 4], 6
call fcn.00401cf0
mov ecx, eax
test ecx, ecx
je 0x465567
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x58], eax
mov byte [ebp - 4], 7
call fcn.00401cf0
mov ecx, eax
test ecx, ecx
je 0x465567
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x5c], eax
push 0
push 0
push 0
mov byte [ebp - 4], 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x20], eax
call esi
mov ecx, edi
mov dword [edi + 0x24], eax
call fcn.00465d60
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 9
push eax
push 0x20019
push 0
push str.softwareyouxihe
push SysReAllocString
mov dword [ebp - 0x264], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x465549
mov esi, dword [ebp - 0x264]
push 0x40
push eax
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x274], esi
call fcn.00469580
add esp, 0xc
mov dword [ebp - 0x264], 0x40
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push str.installtime
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46551c
mov eax, dword [ebp - 0x268]
cmp eax, 1
je 0x46550d
cmp eax, 2
jne 0x46551c
cmp dword [ebp - 0x264], 0
jne 0x46551c
xor eax, eax
mov word [ebp - 0x50], ax
lea edx, [ebp - 0x50]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x465522
sub edx, ecx
lea eax, [ebp - 0x50]
sar edx, 1
lea ecx, [edi + 0x5c]
push edx
push eax
call fcn.00402220
test esi, esi
je 0x465549
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 - 0x10]
xor ecx, ebp
call fcn.0046780a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402200
push 0x80004005
call fcn.00402200
int3