Function at 0x5aa610
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push eax
push 0x6c15d4
mov dword [esi + 0x478], eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
call fcn.005deb38
add esp, 0xc
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc0]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6c35b4
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x5aa6b9
mov dword [esi + 0x44], 1
jmp 0x5aa6bf
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x6c35ac
push ecx
call ebx
test eax, eax
jne 0x5aa6e3
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x318], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x6dfcc8
push edx
call ebx
test eax, eax
jne 0x5aa707
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x310], eax
mov eax, dword [esi + 0x310]
test eax, eax
jne 0x5aa71a
cmp dword [esi + 0x318], 0x40
jne 0x5aa76b
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6dfcc0
push eax
call ebx
test eax, eax
jne 0x5aa743
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5aa743
mov byte [esi + 0x31e], 1
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6dfcb8
push eax
call ebx
test eax, eax
jne 0x5aa76b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5aa76b
mov dword [esi + 0x30c], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6c48f0
push eax
call ebx
test eax, eax
lea edi, [esi + 0x8cc]
je 0x5aa794
mov dword [edi], 0
jmp 0x5aa799
mov ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
mov eax, dword [edi]
cmp eax, 3
je 0x5aa7c0
test eax, eax
je 0x5aa7c0
mov edx, dword [ebp - 0x18]
push 4
push edi
push 4
push 0
push 0x6c48f0
push edx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [edi]
mov ecx, esi
push eax
call fcn.005a8df0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6dfcb0
push eax
call ebx
test eax, eax
je 0x5aa7f7
mov eax, dword [esi + 0x44]
dec eax
neg eax
sbb eax, eax
and al, 0xc5
add eax, 0x50
mov dword [esi + 0x34], eax
jmp 0x5aa7fd
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x34], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x480]
push edx
push edi
push 0
push 0
push 0x6c35a0
push eax
mov dword [ebp - 0x14], 8
call ebx
test eax, eax
je 0x5aa82f
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [edi]
mov eax, dword [edi + 4]
or ecx, eax
jne 0x5aa8f4
mov eax, dword [esi + 0x44]
cmp eax, 4
je 0x5aa857
cmp eax, 5
je 0x5aa857
mov eax, dword [esi + 0x318]
test eax, eax
je 0x5aa8f4
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x38]
push edx
push eax
push 0
push 0
mov edi, 8
push 0x6c3594
push ecx
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x5aa88c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x378], edx
mov dword [esi + 0x37c], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x38]
push ecx
push edx
push 0
push 0
push 0x6df584
push eax
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x5aa8bc
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [esi + 0x490], ecx
mov dword [esi + 0x494], edx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2c]
xor eax, eax
push ecx
push edx
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push eax
mov eax, dword [ebp - 0x18]
push 0x6c3584
push eax
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x5aa8f9
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x110], ecx
mov dword [esi + 0x114], edx
jmp 0x5aa8f9
mov edi, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
lea edi, [esi + 0x488]
push eax
push edi
push 0
push 0
push 0x6d105c
push ecx
call ebx
test eax, eax
je 0x5aa927
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x498]
push edx
push edi
push 0
push 0
push 0x6df594
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x5aa952
mov dword [edi], 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x16c]
push ecx
push edi
push 0
push 0
push 0x6dfca8
push edx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x5aa97d
mov dword [edi], 0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x6df73c
push edx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
jne 0x5aa9a8
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xa48], eax
push 0
lea ecx, [ebp - 0x20]
push 0
mov edx, dword [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.005f6c5c
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5aa9f8
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov edi, ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0
push 0x6c41e8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5aaa51
mov edi, 0x6ec0c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x28]
add esi, 0x20
test eax, eax
je 0x5aaa64
push eax
call fcn.005f6c85
add esp, 4
mov al, byte [0x6ec0c8]
mov edi, ebx
mov byte [ebp + 0xb], al
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 8], edx
jne 0x5aaab6
push 0x6beca0
mov ecx, esi
call fcn.005b69d0
push ebx
call fcn.005f6c85
add esp, 4
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push 0
push 0
push 0x6df1f4
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5aab34
mov esi, dword [ebp - 0x24]
push 0x6dfc84
lea ecx, [esi + 0x4a4]
call fcn.0054f300
push 1
mov ecx, esi
call fcn.005abb40
push ebx
call fcn.005f6c85
add esp, 4
mov eax, 0x7541
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x20]
lea esi, [ecx + 0x20]
test eax, eax
je 0x5aab4a
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi], edx
jne 0x5aab70
push 0x6c1ab8
jmp 0x5aaa8e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
lea eax, [ecx + 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x18c], 0
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0
push 0x6c3d5c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5aabe3
mov edi, 0x6ec0c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x20]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x5aabf9
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5aac0c
mov dword [esi + 4], eax
jmp 0x5aac52
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
jne 0x5aac33
push 0x6c1a8c
jmp 0x5aaa8e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
push edx
push ebx
push 0
push 0
push 0x6c4b0c
push eax
mov dword [ebp - 0x14], ecx
call esi
test eax, eax
je 0x5aac9a
mov edi, 0x6c1b88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x5aacdf
push 0x6c1b88
push ebx
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x5aacdf
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp + 8]
push eax
push ecx
push 0
push 0
push 0x6df890
push edx
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x5aacdf
mov eax, dword [ebp + 8]
test eax, eax
je 0x5aacdf
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x1a8], 1
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x2c]
lea esi, [ecx + 0x20]
test eax, eax
je 0x5aacf5
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xc], edx
jne 0x5aad1c
push 0x6d6350
jmp 0x5aaa8e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x6c4b00
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x6d0f58
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.005aa300
add esp, 0x14
test eax, eax
jne 0x5aada5
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x5aad83
mov edi, 0x6dfc74
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x5aada0
mov edi, 0x6ec0c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + 0x20]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x5aadbb
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
mov eax, dword [ebp - 0x24]
add esp, 4
lea ecx, [eax + 0x20]
test edx, edx
mov dword [ecx + 0x10], edx
jne 0x5aade8
push 0x6d6328
jmp 0x5aaa90
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push 0
push 0x6dfc64
push eax
mov dword [ebp - 0x14], ecx
call edi
test eax, eax
jne 0x5aae5e
mov esi, dword [ebp - 0x24]
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.005ba600
test eax, eax
mov dword [ebp + 8], eax
je 0x5aae61
push ebx
call fcn.005f6c85
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6dfc5c
push eax
call edi
test eax, eax
jne 0x5aae89
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.005bdad0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6dfc50
push eax
call edi
test eax, eax
jne 0x5aaf19
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0xa8]
cmp ebx, eax
je 0x5aaf19
test eax, eax
je 0x5aaec4
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0xa8], edx
jne 0x5aaef1
push 0x6dfc24
jmp 0x5aaa90
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x3c]
push ecx
push edx
push 0
push 0
push 0x6dfc1c
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5aaf44
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0xa34], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push 0x6dfc10
push ecx
call edi
test eax, eax
jne 0x5aaf6f
lea edx, [esi + 0x64]
push ebx
push edx
call fcn.005deb38
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
push ebx
push 0
push 0
push 0x6dfc04
push edx
call edi
test eax, eax
jne 0x5aaf9d
lea eax, [esi + 0x94]
push ebx
push eax
call fcn.005deb38
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6dfbfc
push eax
call edi
test eax, eax
jne 0x5ab063
mov eax, dword [esi + 0x44]
cmp eax, 4
je 0x5ab05a
cmp eax, 5
je 0x5ab05a
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5aafea
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5ab006
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ecx + 0x1c], eax
jmp 0x5ab063
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x5ab030
push 0x6c1ae4
jmp 0x5aaa90
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x5ab063
push ebx
lea ecx, [esi + 0x20]
call fcn.005b8380
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6dfbf8
push eax
call edi
test eax, eax
jne 0x5ab0a9
push ebx
lea ecx, [esi + 0x190]
call fcn.005fa9e2
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [esi + 0x18c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5ab0a9
mov byte [esi + 0x32b], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
push edx
push ebx
push 0
push 0
push 0x6dfbf0
push eax
mov dword [ebp - 0x14], ecx
call edi
test eax, eax
jne 0x5ab0d9
push ebx
lea ecx, [esi + 0xf0]
call fcn.005fa9e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6dfbec
push eax
call edi
test eax, eax
jne 0x5ab103
push ebx
lea ecx, [esi + 0x194]
call fcn.005fa9e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6c48c4
push eax
call edi
test eax, eax
jne 0x5ab151
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x5ab137
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5ab1b3
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2c8]
push ecx
push edx
push 0
push 0
push 0x6d905c
push eax
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5ab204
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [esi + 0x20]
call fcn.005bb480
test eax, eax
mov dword [ebp + 8], eax
je 0x5ab204
push ebx
call fcn.005f6c85
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x18], edx
jne 0x5ab1dd
push 0x6c1a64
jmp 0x5aaa90
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
jmp 0x5ab14b
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x20]
push edx
call fcn.005b93e0
test eax, eax
jne 0x5ab2aa
mov eax, dword [esi + 0x310]
cmp eax, 4
je 0x5ab231
cmp dword [esi + 0x318], 0x40
je 0x5ab231
cmp eax, 0x40
jne 0x5ab23b
mov al, byte [esi + 0x31e]
test al, al
jne 0x5ab2aa
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x30]
push 1
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.005ad8e0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x5ab263
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x20]
call fcn.005bb0c0
test eax, eax
mov dword [ebp + 8], eax
je 0x5ab29e
push ebx
call fcn.005f6c85
add esp, 4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push 0x6df6f8
push ecx
call edi
test eax, eax
jne 0x5ab300
push ebx
lea ecx, [esi + 0x20]
call fcn.005bb540
test eax, eax
mov dword [ebp + 8], eax
je 0x5ab2f7
push ebx
call fcn.005f6c85
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x326], 1
jmp 0x5ab358
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push 0x6c41c0
push ecx
call edi
test eax, eax
jne 0x5ab358
push ebx
lea ecx, [esi + 0x20]
call fcn.005bb540
mov edi, eax
test edi, edi
je 0x5ab34b
push ebx
call fcn.005f6c85
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov byte [esi + 0x326], 0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x6df670
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab383
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0xd4], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x6df5f4
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab3ae
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xd8], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6dfbe4
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab3d9
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x2f8], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x6dc550
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab408
cmp dword [ebp - 0x1c], 1
sete dl
mov byte [esi + 0x338], dl
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x6df74c
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab435
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2fc], eax
jmp 0x5ab43f
mov dword [esi + 0x2fc], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6df744
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab46f
mov eax, dword [ebp - 0x1c]
test eax, eax
setne cl
mov byte [esi + 0x32f], cl
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x6c3428
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab49c
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x47c], edx
jmp 0x5ab4d9
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5ab4d9
mov eax, dword [esi + 0x478]
push eax
call fcn.004860d0
test eax, eax
je 0x5ab4bd
mov dword [esi + 0x47c], 1
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x47c]
push 4
push ecx
push 4
push 0
push 0x6c3428
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x6df9e0
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5ab510
mov eax, dword [ebp - 0x1c]
mov byte [esi + 0xa56], 1
test eax, eax
setne al
mov byte [esi + 0xa55], al
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.005f6c85
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8