Function at 0x4b85f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547584
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x27f4
call fcn.00518fd0
mov eax, dword [0x57f0b4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x563af1
lea ecx, [ebp - 0x88]
call fcn.00404820
mov dword [ebp - 4], 0
push 0x1250
push 0
lea eax, [ebp - 0x12f8]
push eax
call fcn.0051b820
add esp, 0xc
mov dword [ebp - 0x1300], 0
mov dword [ebp - 0x12fc], 0
lea eax, [ebp - 0x1300]
push eax
push 0x20019
push 0
push str.SOFTWAREVNPTES
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b8848
lea eax, [ebp - 0x12fc]
push eax
push 0
push 0
push 0
push str.conf
push dword [ebp - 0x1300]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x4b8848
xor ecx, ecx
mov eax, dword [ebp - 0x12fc]
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.005286d8
add esp, 4
mov edi, eax
lea eax, [ebp - 0x12fc]
push eax
push edi
push 0
push 0
push str.conf
push dword [ebp - 0x1300]
call esi
test eax, eax
jne 0x4b8848
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x70], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x20], al
mov eax, dword [0x593a9c]
test eax, eax
jne 0x4b8748
push 0x63
call fcn.005186a6
add esp, 4
mov dword [ebp - 0x1308], eax
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c4cd0
mov byte [ebp - 4], 0
mov dword [0x593a9c], eax
add eax, 0x42
push eax
push 0x21
lea eax, [ebp - 0x40]
push eax
call fcn.00528f2d
add esp, 0xc
lea esi, [ebp - 0x40]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b8760
sub esi, ecx
cmp dword [0x593a9c], 0
jne 0x4b8796
push 0x63
call fcn.005186a6
add esp, 4
mov dword [ebp - 0x1308], eax
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004c4cd0
mov byte [ebp - 4], 0
mov dword [0x593a9c], eax
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004c5080
test eax, eax
je 0x4b8848
mov dword [ebp - 0x1308], 0
cmp dword [0x593a9c], 0
jne 0x4b87e7
push 0x63
call fcn.005186a6
add esp, 4
mov dword [ebp - 0x130c], eax
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c4cd0
mov byte [ebp - 4], 0
mov dword [0x593a9c], eax
push 0
push edi
lea eax, [ebp - 0x1308]
push eax
push dword [ebp - 0x70]
call fcn.004c51c0
test eax, eax
je 0x4b8838
mov esi, dword [ebp - 0x1308]
push esi
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x88]
call fcn.004160b0
test esi, esi
je 0x4b882c
push esi
call fcn.0052811e
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00404760
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4b8848
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x88]
call fcn.00404660
test eax, eax
je 0x4b90bc
mov byte [ebp - 4], 5
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x130c], esp
push ecx
call fcn.00403f50
mov byte [ebp - 4], 6
push 0
push 1
mov byte [ebp - 4], 5
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x50]
call fcn.00406c30
add esp, 0x30
mov byte [ebp - 4], 7
push 0x5750bc
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1484]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1494]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b895b
lea eax, [ebp - 0x145c]
push eax
push ecx
push 0x5750bc
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x1444]
call fcn.004c2520
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0xcd8]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1444]
call fcn.00417bc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x145c]
call fcn.00404760
push str.logsrc
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14a4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14b4]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8a25
lea eax, [ebp - 0x133c]
push eax
push ecx
push str.logsrc
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0xc
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x1474]
call fcn.004c2520
mov byte [ebp - 4], 0xd
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0x4b8]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1474]
call fcn.00417bc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x133c]
call fcn.00404760
push 0x57510c
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x14c4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14d4]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8aef
lea eax, [ebp - 0x136c]
push eax
push ecx
push 0x57510c
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0xf
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x1354]
call fcn.004c2520
mov byte [ebp - 4], 0x10
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0x12f8]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1354]
call fcn.00417bc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x136c]
call fcn.00404760
push 0x575110
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x14e4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14f4]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8bb9
lea eax, [ebp - 0x139c]
push eax
push ecx
push 0x575110
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x12
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x1384]
call fcn.004c2520
mov byte [ebp - 4], 0x13
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0x10f0]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1384]
call fcn.00417bc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x139c]
call fcn.00404760
push str.update
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1504]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1514]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8c83
lea eax, [ebp - 0x13cc]
push eax
push ecx
push str.update
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x15
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x13b4]
call fcn.004c2520
mov byte [ebp - 4], 0x16
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0xee4]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x13b4]
call fcn.00417bc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x13cc]
call fcn.00404760
push str.iocs
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x1564]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x15b4]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8d26
lea eax, [ebp - 0x13e4]
push eax
push ecx
push str.iocs
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x18
mov ecx, eax
call fcn.00404670
push eax
push 0x104
lea eax, [ebp - 0x8c8]
push eax
call fcn.00528f2d
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x13e4]
call fcn.00404760
push str.version
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x15a4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1594]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8df0
lea eax, [ebp - 0x13fc]
push eax
push ecx
push str.version
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x1a
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x142c]
call fcn.004c2520
mov byte [ebp - 4], 0x1b
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0xad0]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x142c]
call fcn.00417bc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x13fc]
call fcn.00404760
push str.apiport
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x1554]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1534]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8e7c
push str.apiport
lea ecx, [ebp - 0x50]
call fcn.00406b90
mov dword [ebp - 0x54], 0
mov ecx, eax
call fcn.00405d50
mov esi, eax
lea ecx, [ebp - 0x54]
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00415f70
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xee8], eax
push str.updport
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x1574]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1584]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8f11
push str.updport
lea ecx, [ebp - 0x50]
call fcn.00406b90
mov dword [ebp - 0x1308], 0
mov ecx, eax
call fcn.00405d50
mov esi, eax
lea ecx, [ebp - 0x1308]
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00415f70
mov eax, dword [ebp - 0x1308]
mov dword [ebp - 0xcdc], eax
push str.mail
lea ecx, [ebp - 0x6c]
call fcn.00404820
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x1524]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x131c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b8fb4
lea eax, [ebp - 0x1414]
push eax
push ecx
push str.mail
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x1f
mov ecx, eax
call fcn.00404670
push eax
push 0x104
lea eax, [ebp - 0x5bc]
push eax
call fcn.00528f2d
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1414]
call fcn.00404760
push str.license
lea ecx, [ebp - 0x1324]
call fcn.00404820
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x1544]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x1324]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x1301], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1324]
call fcn.00404760
cmp byte [ebp - 0x1301], 0
jne 0x4b9057
lea eax, [ebp - 0x38]
push eax
push ecx
push str.license
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x21
mov ecx, eax
call fcn.00404670
push eax
push 0x104
lea eax, [ebp - 0x5bc]
push eax
call fcn.00528f2d
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.00404760
push 0x1250
lea eax, [ebp - 0x12f8]
push eax
lea eax, [ebp - 0x2808]
push eax
call fcn.0051ad20
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00404390
jmp 0x4b90de
mov dword [ebp - 4], 0
push 0x1250
lea eax, [ebp - 0x12f8]
push eax
lea eax, [ebp - 0x2808]
push eax
call fcn.0051ad20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00404760
push 0x1250
lea eax, [ebp - 0x2808]
push eax
mov esi, dword [ebx + 8]
push esi
call fcn.0051ad20
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00518690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret