Function at 0x5bb550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x6cd05c]
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 - 0x430], ecx
xor eax, eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x42c], eax
call fcn.005affc0
mov esi, dword [ebp - 0x43c]
mov eax, dword [eax]
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0x484], eax
test esi, esi
je 0x5bb5d6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bb5d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bb5d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.0044e558
mov ecx, eax
test ecx, ecx
jne 0x5bb5eb
push 0x80004005
call fcn.004028a0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bb600
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5bb602
call edx
add eax, 0x10
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 0
call fcn.005affc0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
push ecx
mov ecx, dword [eax]
call fcn.0040b5f0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x43c]
test esi, esi
je 0x5bb65e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bb65e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bb65e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0xd4], 0x10
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp - 0xd8]
lea ebx, [ebp - 0xe8]
cmovae ecx, dword [ebp - 0xe8]
add esi, ecx
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0xd4], 0x10
mov dword [ebp - 0x78], 0
cmovae ebx, dword [ebp - 0xe8]
xor eax, eax
mov word [ebp - 0x88], ax
mov eax, esi
sub eax, ebx
cmp eax, 7
je 0x5bb6dd
push 1
push eax
lea ecx, [ebp - 0x88]
call fcn.00404b10
test al, al
je 0x5bb6dd
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0
cmovae eax, dword [ebp - 0x88]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x434]
lea ecx, [ebp - 0x88]
push esi
push ebx
call fcn.0040d360
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x74], 8
push dword [ecx + 0xe0]
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00403fc0
add esp, 0xc
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
push 0x2001f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x45c]
mov esi, dword [ebp - 0x448]
push esi
push reloc.WS2_32.dll_bind
call fcn.0040dd70
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5bb798
push 0
push 0
push 0x2001f
push 0
push 0
push esi
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x45c]
call fcn.0040dc30
test eax, eax
je 0x5bb798
mov esi, dword [ebp - 0x45c]
xor bl, bl
jmp 0x5bc5b2
mov edx, 0x69bbb0
lea ecx, [ebp - 0x438]
call fcn.00405650
mov byte [ebp - 4], 6
mov edx, dword [eax]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp byte [edx], 0
jne 0x5bb7c9
xor ecx, ecx
jmp 0x5bb7d9
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5bb7d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00401e90
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5bb82c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bb828
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5bb828
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5bb82c
mov ecx, edx
call esi
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x8c], 7
cmovae esi, dword [ebp - 0x40]
add esi, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x90], 0
cmovae ebx, dword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, esi
sub eax, ebx
cmp eax, 7
je 0x5bb8a0
push 1
push eax
lea ecx, [ebp - 0xa0]
call fcn.00404b10
test al, al
je 0x5bb8a0
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
cmovae eax, dword [ebp - 0xa0]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x434]
lea ecx, [ebp - 0xa0]
push esi
push ebx
call fcn.0040d360
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 9
call fcn.005affc0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, dword [eax]
call fcn.0040b630
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x5bb907
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x5bb8ec
inc eax
push eax
push dword [ebp - 0x40]
call fcn.004021e0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00402170
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5bb919
inc eax
push eax
push dword [ebp - 0x28]
call fcn.004021e0
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x43c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test esi, esi
je 0x5bb95a
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bb95a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bb95a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
lea ebx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
add esi, ecx
mov dword [ebp - 0xa4], 7
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0xa8], 0
cmovae ebx, dword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0xb8], ax
mov eax, esi
sub eax, ebx
cmp eax, 7
je 0x5bb9d0
push 1
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404b10
test al, al
je 0x5bb9d0
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
cmovae eax, dword [ebp - 0xb8]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x434]
lea ecx, [ebp - 0xb8]
push esi
push ebx
call fcn.0040d360
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
lea esi, [ebp - 0xa0]
cmovae edx, dword [ebp - 0xb8]
cmp dword [ebp - 0x8c], 8
cmovae esi, dword [ebp - 0xa0]
test edx, edx
je 0x5bba49
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bba20
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 0x45c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x464]
push eax
call fcn.005bd5d0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x464]
mov edi, dword [eax]
cmp edi, eax
je 0x5bc4ed
nop
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], eax
test ecx, ecx
je 0x5bba8a
lock inc dword [ecx + 4]
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x4a0], eax
lea ecx, [ebp - 0x450]
push ecx
mov ecx, eax
call fcn.0040b590
mov edx, 0x69bbe0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x488]
call fcn.00405650
mov byte [ebp - 4], 0x10
mov edx, dword [eax]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x5bbad9
xor ecx, ecx
jmp 0x5bbae9
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5bbae0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401e90
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x450]
push eax
call fcn.00407070
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp esi, 0x10
cmovae ecx, ebx
lea edx, [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x5bbb20
mov eax, dword [eax]
push dword [ebp - 0x18]
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.004061e0
mov ecx, dword [ebp - 0x5c]
add esp, 8
mov dword [ebp - 0x42c], eax
cmp ecx, 0x10
jb 0x5bbb4e
inc ecx
push ecx
push dword [ebp - 0x70]
call fcn.004021e0
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp esi, 0x10
jb 0x5bbb6f
lea eax, [esi + 1]
push eax
push ebx
call fcn.004021e0
mov byte [ebp - 4], 0xf
or eax, 0xffffffff
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x14], 0xf
add ecx, 0xfffffff0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5bbbca
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5bbbc6
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5bbbc6
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5bbbca
mov ecx, edx
call esi
cmp dword [ebp - 0x42c], 0
jne 0x5bbecc
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x490]
push eax
call fcn.0040b530
push 0
push 0x6e1d6c
push 0x6e17e0
mov byte [ebp - 4], 0x12
push 0
push dword [eax]
call fcn.006486d3
mov esi, dword [ebp - 0x48c]
add esp, 0x14
mov ebx, eax
test esi, esi
je 0x5bbc32
or ecx, 0xffffffff
lock xadd dword [esi + 4], ecx
jne 0x5bbc32
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bbc32
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test ebx, ebx
je 0x5bc485
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push dword [ebx + 0x20]
call esi
push 0
push eax
push 0x150
push dword [ebx + 0x20]
call esi
push eax
lea ecx, [ebp - 0x440]
call fcn.004075d0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x440]
mov ecx, esi
push eax
call fcn.00407070
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x5bbc88
mov eax, dword [eax]
lea ecx, [ebp - 0x420]
push ecx
mov dword [ebp - 0x424], ecx
lea ecx, [ebp - 0x424]
push eax
call fcn.0040c430
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
push dword [ebp - 0x424]
call fcn.00404360
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x5bbcbf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x438]
call fcn.00403910
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x5bbcdd
inc eax
push eax
push dword [ebp - 0x70]
call fcn.00404ab0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x424]
lea ecx, [ebp - 0x420]
cmp eax, ecx
je 0x5bbd0a
push eax
call fcn.0058d3cf
add esp, 4
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5bbd20
inc eax
push eax
push dword [ebp - 0x28]
call fcn.004021e0
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [eax - 0xc], 0
jne 0x5bbd4b
cmp dword [ebp - 0x484], 1
je 0x5bbe85
lea eax, [ebp - 0xd0]
mov ecx, esi
push eax
call fcn.00407070
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], 0x10
jb 0x5bbd65
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x21c]
push eax
call fcn.0040c430
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x100]
push dword [ebp - 0x21c]
call fcn.00404360
mov esi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x450]
push eax
call fcn.0040b240
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], 0x10
jb 0x5bbdb4
mov eax, dword [eax]
lea ecx, [ebp - 0x31c]
push ecx
mov dword [ebp - 0x320], ecx
lea ecx, [ebp - 0x320]
push eax
call fcn.0040c430
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x118]
push dword [ebp - 0x320]
call fcn.00404360
cmp dword [esi + 0x14], 8
jb 0x5bbdea
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x5bbdf2
mov eax, dword [eax]
push 1
push esi
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040db70
lea ecx, [ebp - 0x118]
call fcn.00404320
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x31c]
cmp eax, ecx
je 0x5bbe25
push eax
call fcn.0058d3cf
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x5bbe37
inc eax
push eax
push dword [ebp - 0x58]
call fcn.004021e0
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00404320
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x5bbe6d
push eax
call fcn.0058d3cf
add esp, 4
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x5bbe85
inc eax
push eax
push dword [ebp - 0xd0]
call fcn.004021e0
lea ecx, [ebp - 0x438]
call fcn.00401e00
mov esi, dword [ebp - 0x43c]
test esi, esi
je 0x5bc485
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bc485
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bc485
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x5bc485
mov edx, 0x69bce0
lea ecx, [ebp - 0x480]
call fcn.00405650
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x70]
push dword [eax]
call fcn.00401d50
mov esi, eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x58]
mov ebx, dword [ebp - 0x450]
mov ecx, ebx
push eax
call fcn.00407070
cmp dword [esi + 0x14], 0x10
lea ecx, [esi + 0x10]
jb 0x5bbf0c
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
lea edx, [eax + 0x10]
jb 0x5bbf17
mov eax, dword [eax]
push dword [ecx]
mov edx, dword [edx]
mov ecx, eax
push esi
call fcn.004061e0
mov ecx, dword [ebp - 0x44]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x5bbf3a
inc ecx
push ecx
push dword [ebp - 0x58]
call fcn.004021e0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x5bbf5e
inc eax
push eax
push dword [ebp - 0x70]
call fcn.004021e0
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 0xf
call fcn.00401e00
test esi, esi
jne 0x5bc095
lea ecx, [ebp - 0x444]
call fcn.00401e50
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x498]
push eax
call fcn.0040b530
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x23
push ecx
mov ecx, dword [eax]
call fcn.004519dc
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0x494]
test esi, esi
je 0x5bbfe5
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bbfe5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bbfe5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0xd0]
mov ecx, ebx
push eax
call fcn.0040b240
mov byte [ebp - 4], 0x24
cmp dword [eax + 0x14], 0x10
jb 0x5bbfff
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x21c]
push eax
call fcn.0040c430
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x100]
push dword [ebp - 0x21c]
call fcn.00404360
cmp dword [eax + 0x14], 8
jb 0x5bc035
mov eax, dword [eax]
push 1
push dword [ebp - 0x444]
lea ecx, [ebp - 0x45c]
push eax
call fcn.0040db70
lea ecx, [ebp - 0x100]
call fcn.00404320
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x5bc06d
push eax
call fcn.0058d3cf
add esp, 4
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x5bc085
inc eax
push eax
push dword [ebp - 0xd0]
call fcn.004021e0
lea ecx, [ebp - 0x444]
call fcn.00401e00
jmp 0x5bc485
mov edx, 0x69bda0
lea ecx, [ebp - 0x470]
call fcn.00405650
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x428]
push dword [eax]
or ecx, 1
mov dword [ebp - 0x428], ecx
mov esi, ecx
mov dword [ebp - 0x42c], ecx
lea ecx, [ebp - 0x58]
call fcn.00401d50
mov ebx, eax
mov eax, esi
mov dword [ebp - 4], 0x27
mov ecx, dword [ebp - 0x450]
or eax, 2
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00407070
or esi, 6
mov dword [ebp - 4], 0x28
cmp dword [ebx + 0x14], 0x10
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x478], esi
jb 0x5bc11d
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
lea edx, [eax + 0x10]
jb 0x5bc128
mov eax, dword [eax]
push dword [ecx]
mov edx, dword [edx]
mov ecx, eax
push ebx
call fcn.004061e0
add esp, 8
test eax, eax
je 0x5bc1d2
mov edx, 0x69bdc0
lea ecx, [ebp - 0x474]
call fcn.00405650
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x118]
push dword [eax]
or esi, 8
mov dword [ebp - 0x42c], esi
call fcn.00401d50
mov esi, eax
mov eax, dword [ebp - 0x47c]
or eax, 0x18
mov dword [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x100]
push eax
call fcn.00407070
mov ecx, dword [ebp - 0x478]
or ecx, 0x38
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x428], ecx
lea ecx, [esi + 0x10]
jb 0x5bc1b0
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
lea edx, [eax + 0x10]
jb 0x5bc1bb
mov eax, dword [eax]
push dword [ecx]
mov edx, dword [edx]
mov ecx, eax
push esi
call fcn.004061e0
add esp, 8
test eax, eax
je 0x5bc1d2
xor bl, bl
jmp 0x5bc1d4
mov bl, 1
mov eax, dword [ebp - 0x428]
test al, 0x20
je 0x5bc1f8
and eax, 0xffffffdf
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x428], eax
call fcn.00401c90
mov eax, dword [ebp - 0x428]
test al, 0x10
je 0x5bc216
and eax, 0xffffffef
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x428], eax
call fcn.00401c90
mov eax, dword [ebp - 0x428]
test al, 8
je 0x5bc234
and eax, 0xfffffff7
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x428], eax
call fcn.00401e00
mov eax, dword [ebp - 0x428]
and eax, 0xfffffffb
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x428], eax
call fcn.00401c90
mov esi, dword [ebp - 0x428]
lea ecx, [ebp - 0x58]
and esi, 0xfffffffd
call fcn.00401c90
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x470]
and esi, 0xfffffffe
mov dword [ebp - 0x428], esi
call fcn.00401e00
test bl, bl
je 0x5bc485
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push dword [ebp - 0x430]
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0x2b
call fcn.0040c210
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0x46c]
mov esi, dword [eax]
cmp esi, eax
je 0x5bc391
nop dword [eax]
push 0
push 0x6e1d54
push 0x6e17e0
push 0
push dword [esi + 8]
call fcn.006486d3
add esp, 0x14
push 0
push 0
push 0xf0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x5bc2ff
mov esi, dword [esi]
cmp esi, dword [ebp - 0x46c]
jne 0x5bc2c0
jmp 0x5bc391
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0xd0]
push eax
call fcn.00407070
mov byte [ebp - 4], 0x2d
cmp dword [eax + 0x14], 0x10
jb 0x5bc31a
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x21c]
push eax
call fcn.0040c430
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x100]
push dword [ebp - 0x21c]
call fcn.00404360
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c2b0
lea ecx, [ebp - 0x100]
call fcn.00404320
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x5bc375
push eax
call fcn.0058d3cf
add esp, 4
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x5bc391
inc eax
push eax
push dword [ebp - 0xd0]
call fcn.004021e0
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0xd0]
push eax
call fcn.0040b240
mov byte [ebp - 4], 0x2f
cmp dword [eax + 0x14], 0x10
jb 0x5bc3af
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x21c]
push eax
call fcn.0040c430
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x58]
push dword [ebp - 0x21c]
call fcn.00404360
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x5bc3ed
mov eax, dword [eax]
push 1
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040db70
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x5bc40e
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00404ab0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x48], 0
cmp eax, ecx
je 0x5bc43b
push eax
call fcn.0058d3cf
add esp, 4
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x5bc453
inc eax
push eax
push dword [ebp - 0xd0]
call fcn.004021e0
lea ecx, [ebp - 0x46c]
call fcn.0040c600
mov ecx, dword [ebp - 0x46c]
mov edx, 1
push 0x18
call fcn.00402840
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x5bc485
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00404ab0
mov esi, dword [ebp - 0x44c]
test esi, esi
je 0x5bc4b0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bc4b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bc4b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ebx, dword [ebp - 0x434]
test ebx, ebx
je 0x5bc4df
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x5bc4df
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x5bc4df
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi]
cmp edi, dword [ebp - 0x464]
jne 0x5bba70
mov esi, dword [ebp - 0x45c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5bc502
push esi
call edi
xor esi, esi
lea ecx, [ebp - 0x464]
mov bl, 1
call fcn.00407f00
mov ecx, dword [ebp - 0x464]
mov edx, 1
push 0x10
call fcn.00402840
mov eax, dword [ebp - 0xa4]
add esp, 4
cmp eax, 8
jb 0x5bc53c
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.00404ab0
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], 0
cmp eax, 8
jb 0x5bc571
inc eax
push eax
push dword [ebp - 0xa0]
call fcn.00404ab0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
cmp eax, 0x10
jb 0x5bc5a0
inc eax
push eax
push dword [ebp - 0x40]
call fcn.004021e0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
test esi, esi
je 0x5bc5b9
push esi
call edi
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x5bc5ce
inc eax
push eax
push dword [ebp - 0x88]
call fcn.00404ab0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x78], 0
cmp eax, 0x10
jb 0x5bc5fd
inc eax
push eax
push dword [ebp - 0xe8]
call fcn.004021e0
lea ecx, [ebp - 0x448]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.00401e00
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.00583e60
mov esp, ebp
pop ebp
ret