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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b990
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5c2b80]
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 dword [ebp - 0x298], edx
mov dword [ebp - 0x290], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x21c], 0
call fcn.00456bd0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45d12e
push 0x80004005
call fcn.00456ea0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x228], 0
call fcn.00456bd0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45d16b
push 0x80004005
call fcn.00456ea0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x220], 0
call fcn.00456bd0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45d1a5
push 0x80004005
call fcn.00456ea0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x22c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], 0x104
push eax
push 0
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
or edi, 0xffffffff
cmp eax, 0x103
je 0x45dec8
test eax, eax
jne 0x45de6a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d205
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.004573c0
mov ecx, 0x592140
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00457210
mov byte [ebp - 4], 6
lea edx, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0045bbe0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x238]
push ecx
push 0x20019
push 0
push dword [eax]
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete bl
mov byte [ebp - 4], 6
mov ecx, edi
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d29d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x2a0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d2c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45de6a
mov ecx, 0x592180
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x25c]
call fcn.00457210
mov edi, eax
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x234]
shr esi, 1
js 0x45deb0
mov ecx, dword [ebp - 0x220]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x45d325
push esi
lea ecx, [ebp - 0x220]
call fcn.00456e30
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
push 0
push dword [edi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d36d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45d3b0
mov eax, dword [ebp - 0x220]
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov edx, eax
add esp, 8
test edx, edx
js 0x45deb0
mov ecx, dword [ebp - 0x220]
cmp edx, dword [ecx - 8]
jg 0x45deb0
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x220]
mov word [eax + edx*2], cx
jmp 0x45d4d3
mov ecx, 0x592440
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x254]
call fcn.00457210
mov edi, eax
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x234]
shr esi, 1
js 0x45deb0
mov ecx, dword [ebp - 0x220]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x45d40d
push esi
lea ecx, [ebp - 0x220]
call fcn.00456e30
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
push 0
push dword [edi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edx, dword [ebp - 0x254]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d452
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov edx, eax
add esp, 8
test edx, edx
js 0x45deb0
mov ecx, dword [ebp - 0x220]
cmp edx, dword [ecx - 8]
jg 0x45deb0
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 2
mov word [eax + edx*2], cx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x220]
call fcn.0045eac0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x220]
push eax
call fcn.0045be70
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d4d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5921a0
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x284]
call fcn.00457210
mov edi, eax
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x234]
shr esi, 1
js 0x45deb0
mov ecx, dword [ebp - 0x21c]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x45d530
push esi
lea ecx, [ebp - 0x21c]
call fcn.00456e30
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
push 0
push dword [edi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov edx, dword [ebp - 0x284]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d57a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45d5bd
mov eax, dword [ebp - 0x21c]
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov edx, eax
add esp, 8
test edx, edx
js 0x45deb0
mov ecx, dword [ebp - 0x21c]
cmp edx, dword [ecx - 8]
jg 0x45deb0
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + edx*2], cx
jmp 0x45d70e
mov ecx, 0x5921c0
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x26c]
call fcn.00457210
mov edi, eax
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x234]
shr esi, 1
js 0x45deb0
mov ecx, dword [ebp - 0x21c]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x45d61a
push esi
lea ecx, [ebp - 0x21c]
call fcn.00456e30
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
push 0
push dword [edi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov edx, dword [ebp - 0x26c]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d664
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45d70e
mov eax, dword [ebp - 0x21c]
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov edx, eax
add esp, 8
test edx, edx
js 0x45deb0
mov ecx, dword [ebp - 0x21c]
cmp edx, dword [ecx - 8]
jg 0x45deb0
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
push 0x5c
mov word [eax + edx*2], cx
push dword [ebp - 0x21c]
call fcn.0052bd07
add esp, 8
test eax, eax
jne 0x45d6bf
or eax, 0xffffffff
jmp 0x45d6c7
sub eax, dword [ebp - 0x21c]
sar eax, 1
inc eax
lea ecx, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0045eac0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x21c]
push eax
call fcn.0045be70
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x294]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d70e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x592460
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x274]
call fcn.00457210
mov esi, eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x234]
shr edx, 1
js 0x45deb0
mov ebx, dword [ebp - 0x244]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x45d763
push edx
mov ecx, ebx
call fcn.00456e30
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push dword [esi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d7ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45d7ed
mov ebx, dword [ebp - 0x244]
mov eax, dword [ebx]
test eax, eax
jne 0x45d7bf
xor ecx, ecx
jmp 0x45d7d5
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45deb0
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x45deb0
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
jmp 0x45d7f8
mov ecx, dword [ebp - 0x244]
call fcn.00456d00
mov ecx, 0x592480
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x28c]
call fcn.00457210
mov esi, eax
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x234]
shr edx, 1
js 0x45deb0
mov ebx, dword [ebp - 0x240]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x45d84d
push edx
mov ecx, ebx
call fcn.00456e30
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push dword [esi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d895
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45d8da
mov ebx, dword [ebp - 0x240]
mov eax, dword [ebx]
test eax, eax
jne 0x45d8a9
xor ecx, ecx
jmp 0x45d8bf
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45deb0
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x45deb0
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
jmp 0x45d976
push dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
call fcn.0045be70
mov ecx, 0x5924b0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x258]
call fcn.00457210
mov esi, eax
mov byte [ebp - 4], 0x1a
mov ecx, 0x592500
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x27c]
call fcn.00457210
mov byte [ebp - 4], 0x1b
push dword [esi]
mov ecx, dword [ebp - 0x240]
push dword [eax]
call fcn.0045b800
mov byte [ebp - 4], 0x1a
mov ecx, edi
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d953
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d976
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x592530
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x260]
call fcn.00457210
mov esi, eax
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x234]
shr edx, 1
js 0x45deb0
mov ebx, dword [ebp - 0x24c]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x45d9cb
push edx
mov ecx, ebx
call fcn.00456e30
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push dword [esi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x260]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45da13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45da58
mov ebx, dword [ebp - 0x24c]
mov eax, dword [ebx]
test eax, eax
jne 0x45da27
xor ecx, ecx
jmp 0x45da3d
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45deb0
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x45deb0
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
jmp 0x45dbfe
mov ecx, 0x592550
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x268]
call fcn.00457210
mov esi, eax
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x234]
shr edx, 1
js 0x45deb0
mov ebx, dword [ebp - 0x24c]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x45daad
push edx
mov ecx, ebx
call fcn.00456e30
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push dword [esi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45daf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45dbfe
call fcn.00456bd0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45d124
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x230], esi
mov byte [ebp - 4], 0x23
mov ecx, 0x5921c0
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x270]
call fcn.00457210
mov edi, eax
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x234]
shr edx, 1
js 0x45deb0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x45db7c
push edx
lea ecx, [ebp - 0x230]
call fcn.00456e30
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x234]
push eax
push esi
lea eax, [ebp - 0x224]
push eax
push 0
push dword [edi]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 0x23
or edi, 0xffffffff
mov edx, dword [ebp - 0x270]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dbc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45dbe1
mov eax, dword [ebp - 0x24c]
push esi
push dword [eax]
push 0x59256c
push eax
call fcn.00457480
add esp, 0x10
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dbfe
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x592580
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x280]
call fcn.00457210
mov byte [ebp - 4], 0x27
lea edx, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x278]
call fcn.0045bbe0
add esp, 4
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x23c]
push ecx
push 0x20019
push 0
push dword [eax]
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete bl
mov byte [ebp - 4], 0x27
mov ecx, edi
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dc80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dca3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45ddb6
mov ecx, 0x592610
mov dword [ebp - 0x234], 0x104
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x288]
call fcn.00457210
mov esi, eax
mov byte [ebp - 4], 0x2b
mov edx, dword [ebp - 0x234]
shr edx, 1
js 0x45deb0
mov ebx, dword [ebp - 0x248]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x45dd00
push edx
mov ecx, ebx
call fcn.00456e30
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push dword [esi]
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dd48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45dd96
mov ebx, dword [ebp - 0x248]
mov eax, dword [ebx]
test eax, eax
jne 0x45dd5c
xor ecx, ecx
jmp 0x45dd72
push dword [eax - 8]
push eax
call fcn.0052b6eb
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45deb0
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x45deb0
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45ddc8
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x248]
push eax
call fcn.0045be70
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45ddc8
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x248]
push eax
call fcn.0045be70
mov eax, dword [ebp - 0x290]
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x45d124
mov eax, dword [ebp - 0x21c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45de0b
test dx, dx
je 0x45de07
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45de0b
add eax, 4
add ecx, 4
test dx, dx
jne 0x45dde5
xor eax, eax
jmp 0x45de10
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x45de6a
mov ebx, dword [ebp - 0x298]
xor eax, eax
mov ecx, dword [ebx]
test ecx, ecx
setne al
test eax, eax
je 0x45d124
mov eax, dword [ebp - 0x220]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45de5c
test dx, dx
je 0x45de58
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45de5c
add eax, 4
add ecx, 4
test dx, dx
jne 0x45de36
xor eax, eax
jmp 0x45de61
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x45deba
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x22c]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x22c], 0x104
inc eax
push ecx
push eax
push 0x80000003
mov dword [ebp - 0x250], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x45d1f4
jmp 0x45dec8
push 0x80070057
call fcn.00456ea0
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.0045be70
mov byte [ebp - 4], 3
mov ecx, edi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45deeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45df0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x45df32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0052ab62
mov esp, ebp
pop ebp
ret