Function at 0x414b8d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x414bef
mov eax, 0x4a1734
push eax
push 2
mov ebx, 0x134
call fcn.00445ce0
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x4a175e
push dword [ebp - 0x24]
call fcn.004017d6
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x414c33
push ebx
call fcn.0044401c
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x414cd1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x414c52
mov eax, 0x4a1734
push eax
push 1
mov ebx, 0x130
call fcn.00446410
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x4a1714]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401316
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x414c9f
mov eax, 0x4a1734
push eax
push 2
mov ebx, 0x138
call fcn.00445b30
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x414ccb
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x414cf2
mov eax, 0x4a1734
push eax
push 2
mov ebx, 0x138
call fcn.00445b30
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x4a175e
push dword [ebp - 0x24]
call fcn.004017d6
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x414d36
push ebx
call fcn.0044401c
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x414d77
push 0x4a175e
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ecx, 2
call fcn.00401bcb
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414d6e
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x414daa
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x414d95
push eax
mov ebx, eax
call fcn.00401b60
inc eax
push eax
call fcn.0044402e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414da6
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00415044
mov dword [ebp + 8], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x414df4
push 0x1b8
push 0x4010b8b
push 6
call fcn.00444022
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x414fbf
mov dword [ebp - 0x10], 0xff
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.00445ba0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x414e3d
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x414e90
push 0x29b
push 0x4010b8b
push 6
call fcn.00444022
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x414fbf
push 0
mov ebx, 0x350
call fcn.00445820
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x10]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x414ecc
mov eax, 0x4a1734
push eax
push 2
mov ebx, 0x134
call fcn.00445ce0
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x4a1d5e
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, 3
call fcn.00401bcb
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x414f0d
push ebx
call fcn.0044401c
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x414f21
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x10], 0xff
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.00445ba0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x414f64
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x414fb7
push 0x442
push 0x4010b8b
push 6
call fcn.00444022
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x414e93
mov dword [ebp - 0x24], esp
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x414feb
push 0x4aa
push 0x4010b8b
push 6
call fcn.00444022
add esp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x415007
push eax
mov ebx, eax
call fcn.00401b60
inc eax
push eax
call fcn.0044402e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41500c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41501d
push ebx
call fcn.0044401c
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41502d
push ebx
call fcn.0044401c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41503d
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8