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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ebed
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x43c3f4]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x854], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x834], ecx
mov dword [ebp - 4], 0
mov edx, dword [0x43d174]
mov eax, dword [edx + 0xc]
mov ecx, 0x43d174
call eax
add eax, 0x10
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 1
mov edx, dword [0x43d174]
mov eax, dword [edx + 0xc]
mov ecx, 0x43d174
call eax
add eax, 0x10
mov dword [ebp - 0x824], eax
mov byte [ebp - 4], 2
mov edx, dword [0x43d174]
mov eax, dword [edx + 0xc]
mov ecx, 0x43d174
call eax
add eax, 0x10
mov dword [ebp - 0x844], eax
lea ecx, [ebp - 0x840]
push ecx
push 0xf003f
push 0
push edi
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
call ebx
test eax, eax
jne 0x411dd1
push eax
push eax
lea ecx, [ebp - 0x88c]
push ecx
lea edx, [ebp - 0x894]
push edx
lea eax, [ebp - 0x890]
push eax
mov eax, dword [ebp - 0x840]
push 0
lea ecx, [ebp - 0x87c]
push ecx
lea edx, [ebp - 0x888]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41196b
mov eax, dword [ebp - 0x888]
dec eax
mov dword [ebp - 0x85c], eax
js 0x41195e
jmp 0x411500
mov eax, dword [ebp - 0x85c]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x884]
push ecx
mov ecx, dword [ebp - 0x840]
lea edx, [ebp - 0x820]
push edx
push eax
push ecx
mov dword [ebp - 0x884], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x820]
push edx
push edi
lea eax, [ebp - 0x620]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x84c]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x620]
push edx
push esi
call ebx
test eax, eax
jne 0x411952
push eax
push eax
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x894]
push ecx
lea edx, [ebp - 0x890]
push edx
mov edx, dword [ebp - 0x84c]
push 0
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x880]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x411952
cmp dword [ebp - 0x880], eax
je 0x4115fe
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x83c], esp
mov edi, esp
call fcn.0040d9b0
mov ecx, dword [ebp - 0x834]
mov edx, dword [ebp - 0x82c]
push ecx
mov ecx, dword [ebp - 0x854]
add eax, 0x10
mov dword [edi], eax
push edx
lea eax, [ebp - 0x620]
push eax
push esi
call fcn.004113d0
jmp 0x411933
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x420]
push edx
mov edx, dword [ebp - 0x84c]
push 0
push 0
mov eax, ecx
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
push edx
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x828], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x411933
lea eax, [ebp - 0x620]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411650
sub eax, edx
lea ecx, [ebp - 0x620]
sar eax, 1
push ecx
lea edx, [ebp - 0x838]
push edx
mov ebx, eax
call fcn.0040d810
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411680
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x824]
push edx
mov ebx, eax
call fcn.0040d810
mov esi, dword [ebp - 0x824]
cmp dword [esi - 0xc], 0
je 0x4118ec
lea eax, [ebp - 0x420]
push eax
push 0x436294
lea edi, [ebp - 0x844]
call fcn.004152c0
mov eax, dword [ebp + 0x1c]
add esp, 8
test eax, eax
jne 0x411810
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x83c], esp
mov edi, esp
call fcn.0040d9b0
add eax, 0x10
mov dword [edi], eax
call fcn.00411330
test al, al
jne 0x4118ec
lea ecx, [ebp + 0x18]
push ecx
lea edx, [ebp - 0x878]
push edx
mov ebx, 0x4347dc
call fcn.0040d580
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x870]
push edx
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.00415010
push eax
lea eax, [ebp - 0x868]
push eax
mov ebx, 0x4347dc
mov byte [ebp - 4], 5
call fcn.0040d580
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x860]
push edx
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.00415010
add esp, 0x20
mov byte [ebp - 4], 7
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x82c]
push eax
call fcn.004152e0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x860]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411795
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x868]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4117bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x870]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4117e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x878]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4118cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4118cc
cmp eax, 1
jne 0x4118ec
mov edx, dword [ebp - 0x844]
cmp dword [edx - 0xc], 0
jne 0x4118ec
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x858]
push ecx
mov ebx, 0x4347dc
call fcn.0040d580
lea edx, [ebp - 0x838]
push edx
lea ecx, [ebp - 0x874]
push ecx
mov ebx, eax
mov byte [ebp - 4], 8
call fcn.00415010
push eax
lea edx, [ebp - 0x864]
push edx
mov ebx, 0x4347dc
mov byte [ebp - 4], 9
call fcn.0040d580
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x86c]
push edx
mov ebx, eax
mov byte [ebp - 4], 0xa
call fcn.00415010
add esp, 0x20
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x82c]
push eax
call fcn.004152e0
lea ecx, [ebp - 0x86c]
call fcn.0040d4f0
lea ecx, [ebp - 0x864]
call fcn.0040d4f0
lea ecx, [ebp - 0x874]
call fcn.0040d4f0
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 3
call fcn.0040d4f0
mov ecx, dword [esi - 0xc]
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x83c], ecx
fild dword [ebp - 0x83c]
sub esp, 8
fstp qword [esp]
call fcn.004153c0
mov eax, dword [ebp - 0x848]
lea edx, [ebp - 0x828]
push edx
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0
push edx
mov edx, dword [ebp - 0x84c]
lea ecx, [ebp - 0x218]
inc eax
push ecx
push eax
push edx
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x828], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x411645
mov eax, dword [ebp - 0x84c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x850]
mov esi, dword [ebp - 0x830]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
dec dword [ebp - 0x85c]
jns 0x411500
mov ecx, dword [ebp - 0x840]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x840]
push edx
push 0xf003f
push 0
push edi
push esi
call ebx
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp - 0x840]
push 0
push 0
mov edx, eax
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push ecx
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x828], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x411dc4
mov esi, dword [ebp - 0x850]
test esi, esi
jne 0x4119d2
xor eax, eax
jmp 0x4119e6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4119d7
sub eax, edx
sar eax, 1
push esi
lea edx, [ebp - 0x838]
push edx
mov ebx, eax
call fcn.0040d810
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411a00
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x824]
push edx
mov ebx, eax
call fcn.0040d810
mov ebx, dword [ebp - 0x824]
cmp dword [ebx - 0xc], 0
je 0x411d7d
lea eax, [ebp - 0x420]
push eax
push 0x436294
lea edi, [ebp - 0x844]
call fcn.004152c0
mov eax, dword [ebp + 0x1c]
add esp, 8
test eax, eax
jne 0x411bc1
push ecx
lea eax, [ebx - 0x10]
mov dword [ebp - 0x830], esp
mov edi, esp
call fcn.0040d9b0
add eax, 0x10
mov dword [edi], eax
call fcn.00411330
test al, al
jne 0x411d7d
lea ecx, [ebp + 0x18]
push ecx
lea edx, [ebp - 0x86c]
push edx
mov ebx, 0x4347dc
call fcn.0040d580
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x864]
push edx
mov ebx, eax
mov byte [ebp - 4], 0xc
call fcn.00415010
push eax
lea eax, [ebp - 0x874]
push eax
mov ebx, 0x4347dc
mov byte [ebp - 4], 0xd
call fcn.0040d580
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x858]
push edx
mov ebx, eax
mov byte [ebp - 4], 0xe
call fcn.00415010
add esp, 0x20
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp - 0x82c]
mov edi, dword [eax + 4]
mov dword [ebp - 0x860], edi
cmp edi, dword [eax + 8]
jb 0x411b12
mov esi, dword [ebp - 0x82c]
lea eax, [edi + 1]
call fcn.00415560
test al, al
je 0x411e89
mov ebx, dword [ebp - 0x82c]
mov ecx, dword [ebx]
mov esi, dword [ebp - 0x834]
lea edi, [ecx + edi*4]
mov dword [ebp - 0x854], edi
mov byte [ebp - 4], 0x10
test edi, edi
je 0x411b3d
mov ecx, dword [ebp - 0x830]
push edi
call fcn.0040d440
inc dword [ebx + 4]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x858]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411b66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x874]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x864]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411bb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x86c]
jmp 0x411d1a
cmp eax, 1
jne 0x411d7d
mov ecx, dword [ebp - 0x844]
cmp dword [ecx - 0xc], 0
jne 0x411d7d
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp - 0x868]
push eax
mov ebx, 0x4347dc
call fcn.0040d580
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x870]
push edx
mov ebx, eax
mov byte [ebp - 4], 0x11
call fcn.00415010
push eax
lea eax, [ebp - 0x878]
push eax
mov ebx, 0x4347dc
mov byte [ebp - 4], 0x12
call fcn.0040d580
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x83c]
push edx
mov ebx, eax
mov byte [ebp - 4], 0x13
call fcn.00415010
add esp, 0x20
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp - 0x82c]
mov edi, dword [eax + 4]
mov dword [ebp - 0x860], edi
cmp edi, dword [eax + 8]
jb 0x411c70
mov esi, dword [ebp - 0x82c]
lea eax, [edi + 1]
call fcn.00415560
test al, al
je 0x411e89
mov ebx, dword [ebp - 0x82c]
mov ecx, dword [ebx]
mov esi, dword [ebp - 0x834]
lea edi, [ecx + edi*4]
mov dword [ebp - 0x854], edi
mov byte [ebp - 4], 0x15
test edi, edi
je 0x411c9b
mov ecx, dword [ebp - 0x830]
push edi
call fcn.0040d440
inc dword [ebx + 4]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411cc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x878]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411cea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x870]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x868]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x824]
mov edi, dword [esi + 4]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x830], edx
cmp edi, dword [esi + 8]
jb 0x411d63
lea eax, [edi + 1]
call fcn.00415630
test al, al
je 0x411e89
mov esi, dword [ebp - 0x834]
mov eax, dword [esi]
lea eax, [eax + edi*8]
test eax, eax
je 0x411d74
fild dword [ebp - 0x830]
fstp qword [eax]
inc dword [esi + 4]
mov esi, dword [ebp - 0x850]
mov eax, dword [ebp - 0x848]
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x420]
push edx
push 0
push 0
push ecx
inc eax
lea edx, [ebp - 0x218]
push edx
push eax
mov dword [ebp - 0x848], eax
mov eax, dword [ebp - 0x840]
push eax
mov dword [ebp - 0x828], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4119ca
mov ecx, dword [ebp - 0x840]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x824]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x838]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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.00419bd7
mov esp, ebp
pop ebp
ret 0x18
push 0x8007000e
call fcn.0040cd60
int3