Function at 0x49dca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x554
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea ecx, [ebx + 0xa0c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], ecx
call fcn.005b5e00
push 0
push 0
mov ecx, ebx
call fcn.005a1ee0
push 0x6c3fb0
lea ecx, [ebp - 0x48]
call fcn.00496310
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.00496410
test eax, eax
je 0x49dd25
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00496390
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6ec7a0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x30]
push ecx
push edx
push 0
push 0
push 0x6c3fa4
push eax
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x49dea8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49dea8
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x150]
lea edx, [ebp - 0x150]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x100
push ecx
push edx
push eax
push eax
mov eax, dword [0x6ec7a0]
push 0x6c3f98
push eax
call esi
test eax, eax
jne 0x49dea8
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49dea8
xor ecx, ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
push edx
push eax
push ecx
mov word [ebp - 0x34], cx
push ecx
mov ecx, dword [0x6ec7a0]
push 0x6c3f8c
push ecx
mov dword [ebp - 0x14], 0xa
call esi
test eax, eax
jne 0x49dea8
lea edx, [ebp - 0x3c]
push edx
call fcn.005de3d3
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
jle 0x49dea8
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x250]
mov edx, dword [0x6ec7a0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x350]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x250]
push eax
push ecx
push 0
push 0
push 0x6c3f80
push edx
mov ebx, 5
mov dword [ebp - 0x14], 0x100
call esi
mov ecx, dword [0x6ec7a0]
lea eax, [ebp - 0x350]
push eax
push 0x6c3f74
push 0x100
push ecx
call fcn.005aa530
mov ecx, dword [0x6ec7a0]
add esp, 0x10
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x30]
push edx
push eax
push 0
push 0
push 0x6c3f68
push ecx
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x49de81
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x350]
lea eax, [ebp - 0x250]
push edx
push eax
push ebx
lea edx, [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
call fcn.005b5e10
jmp 0x49dd08
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x44]
mov byte [ebp - 4], 7
sub eax, 0
je 0x49df6c
dec eax
je 0x49df24
dec eax
jne 0x49e126
push 0x6bc3e8
lea ecx, [ebp - 0x2c]
call fcn.005fa9e2
push 0x6bc404
lea ecx, [ebp - 0x24]
call fcn.005fa9e2
push 0x6bc3f8
lea ecx, [ebp - 0x1c]
call fcn.005fa9e2
push 0x6bc3d8
lea ecx, [ebp - 0x18]
call fcn.005fa9e2
push 0x6bc3b4
lea ecx, [ebp - 0x20]
call fcn.005fa9e2
push 0x6bc3c4
jmp 0x49dfb2
push 0x6bc38c
lea ecx, [ebp - 0x2c]
call fcn.005fa9e2
push 0x6bc3a8
lea ecx, [ebp - 0x24]
call fcn.005fa9e2
push 0x6bc39c
lea ecx, [ebp - 0x1c]
call fcn.005fa9e2
push 0x6bc37c
lea ecx, [ebp - 0x18]
call fcn.005fa9e2
push 0x6bc360
lea ecx, [ebp - 0x20]
call fcn.005fa9e2
push 0x6bc36c
jmp 0x49dfb2
push 0x6bc340
lea ecx, [ebp - 0x2c]
call fcn.005fa9e2
push 0x6bc354
lea ecx, [ebp - 0x24]
call fcn.005fa9e2
push 0x6bc34c
lea ecx, [ebp - 0x1c]
call fcn.005fa9e2
push 0x6bc334
lea ecx, [ebp - 0x18]
call fcn.005fa9e2
push 0x6bc318
lea ecx, [ebp - 0x20]
call fcn.005fa9e2
push 0x6bc324
lea ecx, [ebp - 0x28]
call fcn.005fa9e2
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x30]
push eax
mov eax, dword [0x6ec7a0]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x49e126
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49e126
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x150]
lea edx, [ebp - 0x150]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x100
push ecx
mov ecx, dword [0x6ec7a0]
push edx
push eax
push eax
mov eax, dword [ebp - 0x24]
push eax
push ecx
call esi
test eax, eax
jne 0x49e126
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49e126
xor edx, edx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], edx
push eax
mov eax, dword [0x6ec7a0]
push ecx
push edx
mov word [ebp - 0x34], dx
push edx
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 0x14], 0xa
call esi
test eax, eax
jne 0x49e126
lea ecx, [ebp - 0x3c]
push ecx
call fcn.005de3d3
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x49e123
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x250]
lea edx, [ebp - 0x14]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x350]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x250]
push edx
mov edx, dword [0x6ec7a0]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 0x100
call esi
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49e116
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x350]
push eax
mov eax, dword [0x6ec7a0]
push ecx
push edx
push 0x100
push eax
call fcn.005aa300
add esp, 0x14
test eax, eax
je 0x49e116
lea ecx, [ebp - 0x350]
lea edx, [ebp - 0x250]
push ecx
mov ecx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.005a2060
jmp 0x49e131
lea ecx, [ebp - 0x150]
push ebx
push ecx
mov ecx, dword [ebp + 8]
jmp 0x49e12c
mov ebx, dword [ebp + 8]
push 0
push 0
mov ecx, ebx
call fcn.005a1ee0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005fa859
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.005fa859
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.005fa859
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005fa859
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005fa859
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.005fa859
jmp 0x49dd08