Function at 0x419800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c84a1
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x68], 0
call fcn.00444480
push str.success
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0
call fcn.00444440
lea eax, [ebp - 0x7c]
push eax
push 0x4dfc64
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00444920
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.00444690
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x80], esi
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 2
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x84], ebx
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x8c], edi
mov ecx, dword [ebp - 0x60]
push str.hive
mov byte [ebp - 4], 5
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x58]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 6
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
je 0x419966
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x419957
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x419957
push dword [ebp - 0x50]
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x50], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41994f
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
lea esi, [eax + 0x10]
mov dword [ebp - 0x80], esi
jmp 0x419966
push dword [edx - 0xc]
lea ecx, [ebp - 0x80]
push edx
call fcn.00409670
mov esi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
or ecx, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419987
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x5c], esp
mov eax, dword [ecx]
mov dword [ebp - 0x6c], esi
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4199b2
cmp ecx, dword [esi]
jne 0x4199b2
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4199f5
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x50], edx
test edx, edx
jne 0x4199c9
call fcn.00409970
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a98f5
mov esi, dword [ebp - 0x50]
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.00416540
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x419b05
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push str.readReg_hive_error_
push eax
call fcn.0040b7a0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00444920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00444690
cmp dword [ebp - 0x18], 0x10
jb 0x419a82
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419aa5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419ac2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419adf
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419afc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41a4d6
mov ecx, dword [ebp - 0x60]
push 0x4e0098
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x54]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea esi, [edx - 0x10]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x5c], ecx
cmp esi, ecx
je 0x419b93
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x419b7e
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x419b7e
push esi
call fcn.004047d0
or esi, 0xffffffff
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x419b73
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x58]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x84], ebx
jmp 0x419b96
push dword [edx - 0xc]
lea ecx, [ebp - 0x84]
push edx
call fcn.00409670
mov ebx, dword [ebp - 0x84]
or esi, 0xffffffff
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419bb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x60]
push 0x4e009c
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x58]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
je 0x419c46
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x419c31
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x419c31
push dword [ebp - 0x54]
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x54], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x419c26
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
lea edi, [eax + 0x10]
mov dword [ebp - 0x8c], edi
jmp 0x419c46
push dword [edx - 0xc]
lea ecx, [ebp - 0x8c]
push edx
call fcn.00409670
mov edi, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419c66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x60]
xor eax, eax
push 0x4e00a4
mov dword [ebp - 0x5c], eax
call fcn.00445a20
test al, al
je 0x419c95
mov ecx, dword [ebp - 0x60]
push 0x4e00a4
call fcn.00444a00
mov ecx, eax
call fcn.004450d0
mov dword [ebp - 0x5c], eax
jmp 0x419c97
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x58], ecx
cmp eax, 0x20
je 0x419cb8
test eax, eax
je 0x419cb8
cmp eax, 0x40
jne 0x419cc4
mov ecx, 0x20119
mov dword [ebp - 0x58], 0x20219
jmp 0x419cc4
mov ecx, 0x20219
mov dword [ebp - 0x58], 0x20119
lea eax, [ebp - 0x68]
push eax
push ecx
push 0
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
cmp ecx, 2
jne 0x419cf8
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x419d00
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x58]
push 0
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
je 0x419e20
push ecx
lea eax, [ebp - 0x54]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x50]
push 0x4e00a8
push eax
mov byte [ebp - 4], 0xc
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419d43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
call fcn.00444920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call fcn.00444690
cmp dword [ebp - 0x18], 0x10
jb 0x419d9c
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419dbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419dd9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419df6
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419afc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41a4d6
lea eax, [ebp - 0x64]
push eax
push 0
lea eax, [ebp - 0x88]
push eax
push 0
push edi
push dword [ebp - 0x68]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x64], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x419f72
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x50]
push str.readReg_RegQueryValueEx_gen_
push eax
mov byte [ebp - 4], 0x11
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419e95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
call fcn.00444920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
call fcn.00444690
cmp dword [ebp - 0x18], 0x10
jb 0x419eee
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419f0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419f2b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419f48
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419afc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41a4d6
mov eax, dword [ebp - 0x88]
cmp eax, 4
jne 0x41a1ae
mov ecx, dword [0x526340]
mov dword [ebp - 0x54], 0x17
lea eax, [ecx + 1]
imul eax, ecx
cdq
idiv dword [ebp - 0x54]
mov dword [ebp - 0x5c], 0
cmp edx, 8
jne 0x419fab
dec ecx
mov dword [0x526340], ecx
mov dword [ebp - 0x54], 4
call fcn.00418910
test al, al
jne 0x419fd1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x50
div ecx
inc edx
mov dword [0x526340], edx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push edi
push dword [ebp - 0x68]
call eax
test eax, eax
je 0x41a115
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x50]
push str.readReg_RegQueryValueEx_dword_
push eax
mov byte [ebp - 4], 0x16
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x18
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a038
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x19
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1a
call fcn.00444920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x19
call fcn.00444690
cmp dword [ebp - 0x18], 0x10
jb 0x41a091
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a0b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a0ce
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a0eb
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419afc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41a4d6
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
call fcn.004443e0
push 0x4e0150
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1b
call fcn.00444920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call fcn.00444690
add edi, 0xfffffff0
mov dword [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a16b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a188
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a4d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41a4d6
cmp eax, 1
jne 0x41a14b
mov eax, dword [ebp - 0x64]
inc eax
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
mov ecx, dword [ebp - 0x64]
add esp, 4
add ecx, ecx
push ecx
push 0
push eax
mov dword [ebp - 0x58], eax
call fcn.004a9c90
mov eax, dword [ebp - 0x64]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x88]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push edi
push dword [ebp - 0x68]
call eax
test eax, eax
jne 0x41a31b
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x1c
test edx, edx
je 0x41a282
test edx, 0xffff0000
jne 0x41a267
movzx eax, dx
push 0
push eax
mov dword [ebp - 0x54], eax
call fcn.00403b10
add esp, 8
test eax, eax
je 0x41a28e
push dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
push eax
call fcn.004074c0
jmp 0x41a28e
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a270
sub ecx, dword [ebp - 0x54]
sar ecx, 1
jmp 0x41a284
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00409670
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
call fcn.004443a0
push 0x4e0150
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1f
call fcn.00444920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
call fcn.00444690
cmp dword [ebp - 0x18], 0x10
jb 0x41a2eb
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a30b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x58]
call fcn.004a98f0
add esp, 4
jmp 0x41a14b
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x50]
push str.readReg_RegQueryValueEx_str_
push eax
mov byte [ebp - 4], 0x20
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a35e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x23
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x24
call fcn.00444920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x23
call fcn.00444690
cmp dword [ebp - 0x18], 0x10
jb 0x41a3b7
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a3d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a3f4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a411
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419afc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41a4d6
call fcn.00418a30
test al, al
jne 0x41a500
mov edi, 1
mov eax, edi
mov edx, 0x8e
jmp 0x41a4f0
dec edx
lea ecx, [eax + edi]
lea edi, [eax]
mov eax, ecx
jns 0x41a4f0
mov dword [0x526340], ecx
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x41a515
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x4c]
call fcn.004465d0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 0x29
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [0x526340]
imul eax, eax
cdq
mov ecx, 0x18
idiv ecx
mov byte [ebp - 4], 0x2a
cmp edx, 0x12
jne 0x41a55f
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00449500
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x2b
jb 0x41a580
mov edx, dword [edx]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x41a59f
xor ecx, ecx
jmp 0x41a5ad
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a5a4
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.00401460
lea eax, [ebp - 0x54]
push eax
call fcn.004512c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2c
call fcn.00402ab0
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x2b
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a5ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x2a
jb 0x41a604
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x50]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41a628
call fcn.00409970
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [ebp - 4], 0x29
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a649
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x4c], 0x4dfc5c
jb 0x41a665
push dword [ebp - 0x48]
call fcn.004a831e
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.004466d0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.00444690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret