Function at 0x4e7e70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572397
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x468], 0
xor edi, edi
movq qword [ebp - 0x470], xmm0
xor al, al
mov dword [ebp - 0x45c], 0
mov byte [ebp - 0x461], al
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x468], edi
mov byte [ebp - 4], 2
cmp ebx, reloc.WS2_32.dll_bind
jne 0x4e7f59
call fcn.004e7340
test eax, eax
je 0x4e7f59
cmp dword [esi + 0x14], 8
jb 0x4e7f13
mov eax, dword [esi]
jmp 0x4e7f15
mov eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x45c]
push ecx
push 0x109
push 0
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
je 0x4e805a
cmp dword [esi + 0x14], 8
jb 0x4e7f41
mov esi, dword [esi]
lea eax, [ebp - 0x45c]
push eax
push 9
push 0
push esi
push reloc.WS2_32.dll_bind
call ebx
jmp 0x4e804d
cmp byte [ebp + 0x40], 0
je 0x4e8032
cmp ebx, reloc.WS2_32.dll_accept
jne 0x4e8032
lea eax, [ebp - 0x450]
push eax
call fcn.004e38e0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x4e7f8a
mov esi, dword [esi]
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
push esi
cmovae eax, dword [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push str._s_s
push eax
call fcn.004e2110
add esp, 0x10
lea ecx, [ebp - 0x45c]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ecx
push 9
push 0
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x424], 8
mov esi, eax
jb 0x4e7ff8
push dword [ebp - 0x438]
call fcn.0054a379
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x43c], 8
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
jb 0x4e804f
push dword [ebp - 0x450]
call fcn.0054a379
add esp, 4
jmp 0x4e804f
cmp dword [esi + 0x14], 8
jb 0x4e803a
mov esi, dword [esi]
lea eax, [ebp - 0x45c]
push eax
push 9
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x4e805a
xor bl, bl
jmp 0x4e833d
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0054cf60
add esp, 0xc
lea eax, [ebp - 0x218]
xor esi, esi
push 0x104
push eax
push esi
push dword [ebp - 0x45c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4e825a
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4e80b0
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4e8236
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
mov dword [ebp - 0x458], 0x104
call fcn.0054cf60
add esp, 0xc
mov dword [ebp - 0x454], 1
cmp dword [ebp + 0x24], 8
lea ecx, [ebp - 0x458]
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x454]
push ecx
push 0
push eax
push dword [ebp - 0x460]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4e822e
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004e19c0
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
sub esp, 0x10
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x474], esp
lea eax, [ebp - 0x450]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004eaff0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 2
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5cc480
mov byte [ecx], 0
call fcn.004e9180
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 5
call fcn.004f1940
add esp, 0x30
lea eax, [ebp - 0x438]
lea ecx, [ebp - 0x470]
push eax
call fcn.004e9ea0
cmp dword [ebp - 0x424], 0x10
jb 0x4e81f8
push dword [ebp - 0x438]
call fcn.0054a379
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x43c], 0x10
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
jb 0x4e822e
push dword [ebp - 0x450]
call fcn.0054a379
add esp, 4
push dword [ebp - 0x460]
call ebx
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push dword [ebp - 0x45c]
call edi
test eax, eax
je 0x4e80b0
mov edi, dword [ebp - 0x46c]
push dword [ebp - 0x45c]
call ebx
mov ebx, dword [ebp - 0x470]
mov esi, ebx
cmp ebx, edi
je 0x4e82fc
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004e19c0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x4e8295
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x4e829f
mov ecx, dword [esi]
jmp 0x4e82a1
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4e82c1
test dl, dl
je 0x4e82bd
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4e82c1
add ecx, 2
add eax, 2
test dl, dl
jne 0x4e82a1
xor eax, eax
jmp 0x4e82c6
sbb eax, eax
or eax, 1
test eax, eax
sete bl
cmp dword [ebp - 0x43c], 0x10
jb 0x4e82e2
push dword [ebp - 0x450]
call fcn.0054a379
add esp, 4
test bl, bl
jne 0x4e82ef
add esi, 0x18
cmp esi, edi
jne 0x4e8272
jmp 0x4e82f6
mov byte [ebp - 0x461], 1
mov ebx, dword [ebp - 0x470]
test ebx, ebx
je 0x4e8337
mov esi, ebx
cmp ebx, edi
je 0x4e832e
cmp dword [esi + 0x14], 0x10
jb 0x4e8316
push dword [esi]
call fcn.0054a379
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x4e8306
push ebx
call fcn.0054a379
add esp, 4
mov bl, byte [ebp - 0x461]
cmp dword [ebp + 0x24], 8
jb 0x4e834e
push dword [ebp + 0x10]
call fcn.0054a379
add esp, 4
xor eax, eax
mov dword [ebp + 0x24], 7
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x20], 0
mov word [ebp + 0x10], ax
jb 0x4e8373
push dword [ebp + 0x28]
call fcn.0054a379
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret