Function at 0x49ed87
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb337
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x174
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x49f111
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc0], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x138], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x49ee11
push 1
call fcn.0049f5b1
pop ecx
jmp 0x49f10c
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x124]
movzx eax, byte [eax]
test eax, eax
je 0x49ee81
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x49f10c
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x49ef03
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], 1
jg 0x49f10c
mov dword [ebp - 0x100], 0x29c6149a
mov dword [ebp - 0x2c], 0
jmp 0x49ef29
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x49ef3f
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x17c], 0x86e0
jmp 0x49ef22
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.0040bd1c
mov ecx, dword [ebp - 0xf8]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x49ef78
mov dword [ebp - 0x94], 1
jmp 0x49ef7f
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x49ef97
mov dword [ebp - 0x84], 1
jmp 0x49ef9e
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xf2012cb5
jne 0x49efc2
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x49efc2
and dword [ebp - 0x5c], 0
jmp 0x49efc9
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x5c]
jle 0x49efdd
mov dword [ebp - 0x50], 1
jmp 0x49efe1
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xb686
je 0x49eff3
mov dword [ebp - 0x64], 1
jmp 0x49eff7
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax]
push 4
pop eax
shl eax, 1
sub ecx, dword [ebp + eax - 0x17c]
mov eax, dword [ebp - 0x40]
cmp ecx, dword [eax]
jl 0x49f02e
mov eax, 0x5a4a
test eax, eax
jne 0x49f02e
and dword [ebp - 0x128], 0
jmp 0x49f038
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x49f065
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x49f065
and dword [ebp - 0xa4], 0
jmp 0x49f06f
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0xa4], eax
jne 0x49f085
mov dword [ebp - 0x6c], 1
jmp 0x49f089
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x6c], eax
jl 0x49f09f
mov dword [ebp - 0x8c], 1
jmp 0x49f0a6
and dword [ebp - 0x8c], 0
imul eax, dword [ebp - 0x8c], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ecx]
jl 0x49f0bd
mov dword [ebp - 0x74], 1
jmp 0x49f0c1
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x21f4251d
jl 0x49f0d6
mov dword [ebp - 0x9c], 1
jmp 0x49f0dd
and dword [ebp - 0x9c], 0
push 1
mov ecx, dword [ebp - 0x20]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax]
jg 0x49f0fa
mov dword [ebp - 0x7c], 1
jmp 0x49f0fe
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x100], eax
jmp 0x49eef8
jmp 0x49f5a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
movzx eax, byte [eax]
test eax, eax
je 0x49f225
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x49f1f3
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x49f1f1
push 0x288e
push 0x66df
push 0x4fd7
push 0x39f6
push 0x7ab4
push 0x613
push 0
push 0x6d0e
push 0x7a10
push 0
push 0x2cd7
push 1
push 0x3ffa
push 1
push 0x3343
push 0x4368
call fcn.0049908c
add esp, 0x40
jmp 0x49f220
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x49f220
push 0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
jmp 0x49f5a0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x49f38a
mov dword [ebp - 0x24], 0x53b26bdd
mov dword [ebp - 0x114], 6
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x24], 6
jmp 0x49f26d
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffffd
jge 0x49f385
mov dword [ebp - 0x11c], 3
mov dword [ebp - 0x54], 0x21da
mov dword [ebp - 0x10c], str.ponhyh_jmnr_zeozldi_qftrmq_xzverjvsw_xyxi_jakonszm_efdmfk
cmp dword [ebp - 0x54], 0x23e9
jle 0x49f313
and dword [ebp - 0x30], 0
jmp 0x49f2a8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x405f
jge 0x49f313
and dword [ebp - 0x34], 0
jmp 0x49f2be
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xe30
jge 0x49f311
and dword [ebp - 0x3c], 0
jmp 0x49f2d4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x23b0
jge 0x49f30f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sar eax, cl
mov ecx, dword [ebp - 0x3c]
sar eax, cl
cdq
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edx
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
mov ecx, 0xa9b358
call fcn.0040b8d9
jmp 0x49f2cd
jmp 0x49f2b7
jmp 0x49f2a1
cmp dword [ebp - 0x24], 0
je 0x49f31b
jmp 0x49f385
and dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0x20b7
jge 0x49f338
mov edx, dword [ebp - 0x10c]
mov ecx, 0xa9b358
call fcn.0040e54d
jmp 0x49f354
or dword [ebp - 4], 0xffffffff
jmp 0x49f35e
push 1
push 1
push 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.00494a2a
add esp, 0x1c
jmp 0x49f266
jmp 0x49f5a0
mov dword [ebp - 0x18], 0xe19d29be
mov dword [ebp - 0x48], 0xfffffffe
mov dword [ebp - 0x60], 0x3b4709ba
mov dword [ebp - 0x68], 0x5e3d1aa1
mov dword [ebp - 0x4c], 0x7cccaea0
mov dword [ebp - 0x80], 0x54d8142
or dword [ebp - 0x158], 0xffffffff
or dword [ebp - 0x154], 0xffffffff
or dword [ebp - 0x150], 0xffffffff
or dword [ebp - 0x14c], 0xffffffff
lea ecx, [ebp - 0x41]
call fcn.0040bd2b
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x184]
call fcn.0040bd2e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x168]
call fcn.0040bcda
mov dword [ebp - 0x28], 0xe2095e04
xor eax, eax
inc eax
je 0x49f502
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x18], 0xfff8
je 0x49f436
mov dword [ebp - 0x58], 1
jmp 0x49f43a
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xa5ea
jl 0x49f453
cmp dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x18]
add eax, 0xbda9
je 0x49f47c
cmp dword [ebp - 0x4c], 0
je 0x49f47c
mov dword [ebp - 0x70], 1
jmp 0x49f480
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x70], eax
jle 0x49f491
mov dword [ebp - 0x78], 1
jmp 0x49f495
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xebbf
jge 0x49f4b0
mov dword [ebp - 0x88], 1
jmp 0x49f4b7
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x88], eax
jge 0x49f4d2
xor eax, eax
je 0x49f4d2
mov dword [ebp - 0x90], 1
jmp 0x49f4d9
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x90]
je 0x49f502
push 0
lea ecx, [ebp - 0x168]
call fcn.0040bd1c
cmp dword [eax], 0
je 0x49f502
mov dword [ebp - 0x98], 1
jmp 0x49f509
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xffffffff
jne 0x49f51e
mov dword [ebp - 0xa0], 1
jmp 0x49f525
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xa0]
jg 0x49f53c
mov dword [ebp - 0xa8], 1
jmp 0x49f543
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0
jmp 0x49f55c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1c
jne 0x49f595
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x49f593
push 0x6ef8
push 0x71fd
push 1
push 0
push 0x1aa
push 0x75b
push 0x5c89
call fcn.0049ed53
add esp, 0x1c
jmp 0x49f555
lea ecx, [ebp - 0x168]
call fcn.0040bd00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret