Function at 0x497dfb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb265
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4980dd
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x49805e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x497f1d
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x497ee7
push 0xfffffffffffffffd
pop eax
test eax, eax
jne 0x497ee7
and dword [ebp - 0x30], 0
jmp 0x497eee
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x38]
mov dword [eax], 0xc662a2b3
cmp dword [ebp - 0x30], 0xc662a2b3
je 0x497f09
mov dword [ebp - 0x2c], 1
jmp 0x497f0d
and dword [ebp - 0x2c], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x49805c
mov dword [ebp - 0x34], 0x73f2
mov dword [ebp - 0x70], str.rftrswtex_hbhxyep_wxcl_uiukpli_qkn_wtefgvgqv_dcgtd_daakiqda_auhrqndr_ysfrslp_vqiijpamf_wkjxga_ljixnv_gqstb
cmp dword [ebp - 0x34], 0x7530
jle 0x497fcb
and dword [ebp - 0x1c], 0
jmp 0x497f45
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x474c
jge 0x497fcb
and dword [ebp - 0x24], 0
jmp 0x497f5b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x369e
jge 0x497fc6
and dword [ebp - 0x20], 0
jmp 0x497f71
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6f2d
jge 0x497fc4
and dword [ebp - 0x18], 0
jmp 0x497f87
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4f1d
jge 0x497fc2
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
mov ecx, 0xa9b358
call fcn.0040b8d9
jmp 0x497f80
jmp 0x497f6a
jmp 0x497f54
jmp 0x497f3e
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x7348
jge 0x497fee
mov edx, dword [ebp - 0x70]
mov ecx, 0xa9b358
call fcn.0040e54d
jmp 0x49800a
or dword [ebp - 4], 0xffffffff
jmp 0x498014
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x49803f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x49805c
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.0040bd1c
mov dword [eax], 0x55b65ab4
jmp 0x498034
jmp 0x4980db
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x4980a4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x4980a2
push 0
push 0x1c27
push 0
call dword [sym.imp.GDI32.dll_GetBitmapBits]
jmp 0x4980db
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x4980db
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x498122
lea eax, [ebp + 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0xac]
push 1
push 0x5c4c
push 0x3723
call fcn.00493f2b
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret