Function at 0x46aaf0
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x3b0
push 0xffffffffffffffff
push 0x648200
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x3b8]
mov dword [ebp - 0x34], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], esi
wait
mov dword [ebp - 0x2c], vtable.CProtection.0
mov byte [ebp - 4], 1
mov byte [ebp + 0x378], 0
push 0x100
push esi
lea ecx, [ebp + 0x210]
push ecx
call fcn.0061d9e0
add esp, 0xc
xor bl, bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x30], esi
lea edx, [ebp - 0x48]
push edx
push 1
push esi
mov eax, dword [0x75c460]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46acc0
mov dword [ebp - 0x1c], 0x32
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x344]
push edx
push eax
push eax
mov eax, dword [0x75c454]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x46abc2
mov bl, 1
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x1c], 0x32
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x378]
push eax
push 0
push 0
mov ecx, dword [0x75c450]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call edi
test eax, eax
jne 0x46acb0
mov byte [ebp - 0x1d], 1
lea eax, [ebp + 0x378]
push eax
call fcn.00459c50
add esp, 4
test al, al
jne 0x46acb0
mov dword [ebp - 0x24], 1
push 0
call fcn.00620aa1
push eax
call fcn.00622018
add esp, 8
call fcn.0062202a
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv qword [0x681ca0]
fmul qword [0x681c98]
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x38], eax
fldcw word [ebp - 0x38]
fistp qword [ebp - 0x3c]
fldcw word [ebp - 0x12]
mov ecx, dword [ebp - 0x3c]
mov edi, 0x3e8
sub edi, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x298], 0x88b8
push 0
lea edx, [edi + 0x5208]
push edx
push 1
call fcn.00425170
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x268], 0
jne 0x46acaa
mov ecx, eax
mov byte [ecx + 0x268], 1
push 0
push edi
push 0x6f
call fcn.00425170
mov byte [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x2c], vtable.CProtection.0
wait
jmp 0x46b584
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x46acf4
jmp 0x46acc6
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1c], 0x32
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x344]
push eax
push 0
push 0
mov ecx, dword [0x75c454]
push ecx
mov edx, dword [0x75abd8]
push edx
call edi
test eax, eax
jne 0x46ad0e
mov byte [ebp - 0x25], 1
lea eax, [ebp + 0x344]
push eax
call fcn.004598d0
add esp, 4
test al, al
jne 0x46ad0e
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0x32
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x310]
push edx
push 0
push 0
mov eax, dword [0x75c450]
push eax
mov ecx, dword [0x75abd8]
push ecx
call edi
test eax, eax
jne 0x46ae15
cmp byte [ebp - 0x1d], al
jne 0x46adf4
lea ecx, [ebp + 0x310]
lea edx, [ebp + 0x378]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x46ad50
mov byte [ebp - 0x1d], 1
lea edx, [ebp + 0x378]
push edx
call fcn.00459c50
add esp, 4
test al, al
jne 0x46ae15
mov dword [ebp - 0x24], 1
push 0
call fcn.00620aa1
push eax
call fcn.00622018
add esp, 8
call fcn.0062202a
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fdiv qword [0x681ca0]
fmul qword [0x681c98]
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x38], eax
fldcw word [ebp - 0x38]
fistp qword [ebp - 0x3c]
fldcw word [ebp - 0x12]
mov eax, dword [ebp - 0x3c]
mov edi, 0x3e8
sub edi, eax
mov ebx, dword [ebp - 0x34]
mov dword [ebx + 0x298], 0x88b8
push 0
lea ecx, [edi + 0x4e20]
push ecx
push 1
mov ecx, ebx
call fcn.00425170
cmp byte [ebx + 0x268], 0
jne 0x46ae15
mov ecx, ebx
jmp 0x46ac83
lea edx, [ebp + 0x310]
push edx
lea eax, [ebp + 0x378]
push eax
call fcn.0061ee1e
add esp, 8
test eax, eax
je 0x46ae15
mov dword [ebp - 0x50], 1
lea ecx, [ebp - 0x44]
cmp dword [0x74fd2c], 0
jne 0x46b0c5
call fcn.0051b590
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0
mov edx, dword [0x75c19c]
push edx
mov eax, dword [0x75aba4]
neg eax
sbb eax, eax
add eax, 0x80000002
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call ebx
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x46af21
cmp edi, 2
je 0x46af1d
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
cmp dword [0x75aba4], 0
mov eax, str.CURRENT_USER
jne 0x46ae89
mov eax, str.MACHINE
mov ecx, dword [0x75c19c]
push ecx
push eax
push 0x678c08
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.0051b680
test eax, eax
je 0x46aed7
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0
mov edx, dword [0x75c19c]
push edx
mov eax, dword [0x75aba4]
neg eax
sbb eax, eax
add eax, 0x80000002
push eax
call ebx
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x46af11
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0051b750
test eax, eax
je 0x46af11
lea edx, [ebp - 0x18]
push edx
push 1
push 0
mov eax, dword [0x75c19c]
push eax
mov ecx, dword [0x75aba4]
neg ecx
sbb ecx, ecx
add ecx, 0x80000002
push ecx
call ebx
mov edi, eax
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
test edi, edi
jne 0x46af60
mov dword [ebp - 0x1c], 0x100
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x210]
push eax
push 0
push 0
mov ecx, dword [0x75c55c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46af66
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
jne 0x46b07e
lea ecx, [ebp - 0x64]
call fcn.0051b590
mov byte [ebp - 4], 4
push esi
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push 0x80000001
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call edi
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x46b038
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 5
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push str.CURRENT_USER_s
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
call fcn.0051b680
test eax, eax
je 0x46b02a
push esi
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push 0x80000001
call edi
test eax, eax
jne 0x46b02a
mov dword [ebp - 0x1c], 0x100
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x210]
push eax
push esi
push esi
mov ecx, dword [0x75c55c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00402570
jmp 0x46b06e
mov dword [ebp - 0x1c], 0x100
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x210]
push edx
push 0
push 0
mov eax, dword [0x75c55c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.0051b5f0
test esi, esi
je 0x46b0af
mov edx, dword [0x75b920]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46b090
sub eax, edi
push eax
push edx
push 0x100
lea eax, [ebp + 0x210]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00448740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0051b5f0
mov ebx, 6
jmp 0x46b28f
call fcn.0051b590
mov ebx, 6
mov byte [ebp - 4], bl
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [0x75c1a0]
push edx
xor eax, eax
cmp byte [0x75abc4], al
setne al
add eax, 0x80000001
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call edi
test eax, eax
je 0x46b21a
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 7
cmp byte [0x75abc4], 0
mov eax, str.MACHINE
jne 0x46b12c
mov eax, str.CURRENT_USER
mov ecx, dword [0x75c1a0]
push ecx
push eax
push 0x678c08
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0x10
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.0051b680
test eax, eax
je 0x46b192
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [0x75c1a0]
push edx
xor eax, eax
cmp byte [0x75abc4], al
setne al
add eax, 0x80000001
push eax
call edi
test eax, eax
jne 0x46b192
mov dword [ebp - 0x54], eax
jmp 0x46b1d3
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.0051b750
test eax, eax
je 0x46b20d
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [0x75c1a0]
push edx
xor eax, eax
cmp byte [0x75abc4], al
setne al
add eax, 0x80000001
push eax
call edi
test eax, eax
jne 0x46b20d
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x210]
push edx
push 0
mov dword [ebp - 0x1c], 0x100
push 0
mov eax, dword [0x75c55c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
jmp 0x46b255
mov dword [ebp - 0x1c], 0x100
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x210]
push ecx
push 0
push 0
mov edx, dword [0x75c55c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x46b283
mov edx, dword [0x75b920]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46b264
sub eax, edi
push eax
push edx
push 0x100
lea edx, [ebp + 0x210]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00448740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0051b5f0
test esi, esi
je 0x46b4e0
cmp dword [ebp - 0x24], 0
jne 0x46b4ea
cmp dword [0x74fd2c], 0
je 0x46b2ee
lea ecx, [ebp + 0x210]
mov eax, dword [0x75c558]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46b2d5
test dl, dl
je 0x46b2d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46b2d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x46b2b5
xor eax, eax
jmp 0x46b2da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46b4db
mov dword [ebp - 0x24], 4
jmp 0x46b4ea
cmp byte [ebp + 0x378], 0
je 0x46b36f
lea ecx, [ebp + 0x210]
lea eax, [ebp + 0x378]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46b323
test dl, dl
je 0x46b31f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46b323
add eax, 2
add ecx, 2
test dl, dl
jne 0x46b303
xor eax, eax
jmp 0x46b328
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46b4c8
cmp dword [ebp - 0x50], 0
je 0x46b36f
lea ecx, [ebp + 0x210]
lea eax, [ebp + 0x310]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46b362
test dl, dl
je 0x46b35e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46b362
add eax, 2
add ecx, 2
test dl, dl
jne 0x46b342
xor eax, eax
jmp 0x46b367
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46b4c8
lea ecx, [ebp + 0x210]
mov eax, dword [0x75c54c]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46b3a0
test dl, dl
je 0x46b39c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46b3a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x46b380
xor eax, eax
jmp 0x46b3a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46b3b5
mov dword [ebp - 0x24], 1
jmp 0x46b4ea
lea ecx, [ebp + 0x210]
mov eax, dword [0x75c550]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46b3e0
test dl, dl
je 0x46b3dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46b3e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x46b3c0
xor eax, eax
jmp 0x46b3e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46b3f5
mov dword [ebp - 0x24], 2
jmp 0x46b4ea
lea ecx, [ebp + 0x210]
mov eax, dword [0x75c554]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46b420
test dl, dl
je 0x46b41c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46b420
add eax, 2
add ecx, 2
test dl, dl
jne 0x46b400
xor eax, eax
jmp 0x46b425
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46b435
mov dword [ebp - 0x24], 3
jmp 0x46b4ea
lea ecx, [ebp + 0x210]
mov eax, dword [0x75c558]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46b460
test dl, dl
je 0x46b45c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46b460
add eax, 2
add ecx, 2
test dl, dl
jne 0x46b440
xor eax, eax
jmp 0x46b465
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46b4db
lea eax, [ebp + 0x344]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46b472
sub eax, edx
je 0x46b2e2
lea eax, [ebp + 0x378]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46b490
sub eax, edx
cmp eax, 0x17
jne 0x46b2e2
mov al, 0x2d
cmp byte [ebp + 0x37d], al
jne 0x46b2e2
cmp byte [ebp + 0x383], al
jne 0x46b2e2
cmp byte [ebp + 0x389], al
jne 0x46b2e2
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], vtable.CProtection.0
wait
jmp 0x46b584
mov dword [ebp - 0x24], ebx
jmp 0x46b4ea
cmp dword [ebp - 0x24], 0
je 0x46b56e
push 0
call fcn.00620aa1
push eax
call fcn.00622018
add esp, 8
call fcn.0062202a
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fdiv qword [0x681ca0]
fmul qword [0x681c98]
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x38], eax
fldcw word [ebp - 0x38]
fistp qword [ebp - 0x3c]
fldcw word [ebp - 0x12]
mov eax, dword [ebp - 0x3c]
mov esi, 0x3e8
sub esi, eax
mov edi, dword [ebp - 0x34]
mov dword [edi + 0x298], 0x88b8
push 0
lea ecx, [esi + 0x4e20]
push ecx
push 1
mov ecx, edi
call fcn.00425170
push 0
cmp byte [edi + 0x268], 0
jne 0x46b5a9
mov byte [edi + 0x268], 1
push esi
push 0x6f
mov ecx, edi
call fcn.00425170
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.CProtection.0
wait
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3ac]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x3b0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_ExitProcess]