Function at 0x414380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592e18
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5fcffc]
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, ecx
mov dword [ebp - 0x248], esi
lea eax, [esi + 0x314]
push eax
lea eax, [ebp - 0x230]
push str.Software_
push eax
call fcn.00422650
push str.ConsoleRestore
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
call fcn.00422a00
add esp, 0x18
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x234]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x414467
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.complete
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41445f
push 0x5d8d04
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x234]
call ebx
mov edx, dword [ebp - 0x228]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414487
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4144ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156b8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x230]
call fcn.00402a50
test al, al
jne 0x414512
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4144f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403260
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x230]
push edi
call fcn.00577b2d
push dword [esi + 0x304]
mov dword [ebp - 0x224], eax
call fcn.00577b2d
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x41454d
cmp eax, ecx
jge 0x415680
push ecx
mov dword [ebp - 0x21c], esp
mov dword [ebp - 0x228], esp
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156b8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x228]
add eax, 0x10
mov dword [ecx], eax
push 0x5d91a0
mov byte [ebp - 4], 3
call fcn.00402a50
test al, al
jne 0x41459d
mov ecx, dword [ebp - 0x228]
push 3
push 0x5d91a0
call fcn.00403260
push ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x228], esp
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156c2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x228]
add eax, 0x10
mov dword [ecx], eax
push str.Restore
mov byte [ebp - 4], 5
call fcn.00402a50
test al, al
jne 0x4145eb
mov ecx, dword [ebp - 0x228]
push 7
push str.Restore
call fcn.00403260
mov byte [ebp - 4], 4
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00408e70
cmp eax, 1
jne 0x41475d
push ecx
mov dword [ebp - 0x224], esp
lea eax, [esi + 0x2f8]
push eax
lea eax, [esi + 0x318]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156cc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.XdhithkbXubtshubX
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00402a50
test al, al
jne 0x41465c
push 0x11
push str.XdhithkbXubtshubX
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 2
push eax
call fcn.00405440
mov esi, eax
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 7
lea ecx, [eax + 0x310]
push ecx
lea ecx, [eax + 0x2e0]
push ecx
lea eax, [ebp - 0x24c]
push eax
call fcn.00420cc0
push esi
push eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 8
push eax
call fcn.00420cc0
add esp, 0x18
push eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 9
push eax
call fcn.00420cc0
add esp, 0xc
push eax
mov byte [ebp - 4], 0xa
push dword [ebp - 0x224]
call fcn.00420cc0
add esp, 0xc
call fcn.004093c0
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4146f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414715
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414736
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414757
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x248]
push ecx
lea eax, [esi + 0x2fc]
mov dword [ebp - 0x244], esp
push eax
mov dword [ebp - 0x23c], eax
lea eax, [esi + 0x318]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156d6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.XdhithkbXubtshubX
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00402a50
test al, al
jne 0x4147c2
push 0x11
push str.XdhithkbXubtshubX
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 2
push eax
call fcn.00405440
mov esi, eax
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0x310]
add eax, 0x2e0
push ecx
push eax
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x24c], ecx
call fcn.00420cc0
push esi
push eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xd
push eax
call fcn.00420cc0
add esp, 0x18
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xe
push eax
call fcn.00420cc0
add esp, 0xc
push eax
mov byte [ebp - 4], 0xf
push dword [ebp - 0x244]
call fcn.00420cc0
add esp, 0xc
call fcn.004093c0
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414865
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414886
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4148a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4148c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x228], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156b8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str._dhithkb_ubtshub_wow
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00402a50
test al, al
jne 0x41490c
push 0x14
push str._dhithkb_ubtshub_wow
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
call fcn.00405440
mov esi, dword [ebp - 0x248]
push eax
mov byte [ebp - 4], 0x11
lea eax, [esi + 0x320]
push eax
push 0x5d9414
lea eax, [esi + 0x310]
push eax
push ecx
mov dword [ebp - 0x228], esp
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156b8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x228]
add eax, 0x10
mov dword [ecx], eax
push str.tbuqbuz_fww_
mov byte [ebp - 4], 0x12
call fcn.00402a50
test al, al
jne 0x414984
mov ecx, dword [ebp - 0x228]
push 0xd
push str.tbuqbuz_fww_
call fcn.00403260
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x11
push eax
call fcn.00405440
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x13
push eax
call fcn.00420cc0
add esp, 0xc
push eax
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x14
push eax
call fcn.00422a00
add esp, 0xc
push eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0x15
push eax
call fcn.00420cc0
add esp, 0xc
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x16
push eax
call fcn.00420cc0
add esp, 0xc
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x17
push eax
call fcn.00422d00
mov byte [ebp - 4], 0x16
mov eax, ebx
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov eax, ebx
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov eax, ebx
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, ebx
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414aba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi + 0x30c]
lea ecx, [esi + 0xe8]
push str.server
call fcn.00420fa0
mov dword [ebp - 0x224], 0
nop word [eax + eax]
push ecx
mov dword [ebp - 0x22c], esp
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x238], eax
lea ecx, [eax - 0x10]
mov dword [ebp - 0x228], ecx
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, eax
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jl 0x414b1d
cmp edx, dword [eax]
jne 0x414b1d
lock inc dword [ecx]
jmp 0x414b66
lea ecx, [eax + 4]
mov eax, dword [edx]
push 2
push dword [ecx]
mov dword [ebp - 0x220], ecx
mov ecx, edx
call dword [eax]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x415712
mov edx, dword [ebp - 0x220]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
add eax, 0x10
mov ecx, dword [edx]
inc ecx
push ecx
push dword [ebp - 0x238]
push ecx
push eax
call fcn.00403400
mov eax, dword [ebp - 0x228]
add esp, 0x10
mov ecx, dword [ebp - 0x22c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.0040be00
cmp eax, 1
jne 0x414b98
push ecx
lea eax, [esi + 0x2285c]
mov ecx, esp
push eax
call fcn.00422ec0
mov ecx, esi
call fcn.00415730
cmp eax, 1
je 0x414bf7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x224], eax
cmp eax, 3
jl 0x414ae0
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x21c], esp
lea ecx, [esi + 0xe8]
push ecx
push str.FAIL_RESTORE__:
push eax
call fcn.00422650
add esp, 8
mov byte [ebp - 4], 0x32
mov dword [ebp - 0x224], esp
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156e0
jmp 0x4154f1
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156b8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x228]
push dword [esi + 0xf4]
push 0x5daa50
push eax
call fcn.00402d70
add esp, 0xc
mov ecx, esi
call fcn.00416210
cmp eax, 0xffffffff
jne 0x414d7c
push ecx
mov dword [ebp - 0x220], esp
lea eax, [esi + 0x2f4]
push eax
lea eax, [esi + 0x318]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.XdhithkbXubtshubX
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00402a50
test al, al
jne 0x414c9b
push 0x11
push str.XdhithkbXubtshubX
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x18
push eax
call fcn.00405440
mov esi, eax
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x240]
push dword [ebp - 0x24c]
push dword [ebp - 0x234]
push eax
call fcn.00420cc0
push esi
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00420cc0
add esp, 0x18
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x1c
push eax
call fcn.00420cc0
add esp, 0xc
push eax
mov byte [ebp - 4], 0x1d
push dword [ebp - 0x220]
call fcn.00420cc0
add esp, 0xc
call fcn.004093c0
mov byte [ebp - 4], 0x1c
mov eax, ebx
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414d2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov eax, ebx
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414d4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414d6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x244]
jmp 0x4152ef
cmp eax, 1
jne 0x414fba
lea eax, [esi + 0x314]
push eax
lea eax, [ebp - 0x22c]
push str.Software_
push eax
call fcn.00422650
push str.ConsoleRestore
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00422a00
mov ecx, dword [esi + 0x304]
add esp, 0x18
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push dword [eax]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push SysReAllocString
call eax
test eax, eax
jne 0x414e3e
mov edx, dword [ebp - 0x220]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x220], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e00
sub ecx, dword [ebp - 0x220]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.complete
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x414e3e
push dword [ebp - 0x224]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov edx, dword [ebp - 0x238]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414e5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, ebx
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414e7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 0x220], esp
lea eax, [esi + 0x300]
push eax
lea eax, [esi + 0x318]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.XdhithkbXubtshubX
mov ecx, esi
mov byte [ebp - 4], 0x1f
call fcn.00402a50
test al, al
jne 0x414ed5
push 0x11
push str.XdhithkbXubtshubX
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x18
push eax
call fcn.00405440
mov esi, eax
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x240]
push dword [ebp - 0x24c]
push dword [ebp - 0x234]
push eax
call fcn.00420cc0
push esi
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x21
push eax
call fcn.00420cc0
add esp, 0x18
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x22
push eax
call fcn.00420cc0
add esp, 0xc
push eax
mov byte [ebp - 4], 0x23
push dword [ebp - 0x220]
call fcn.00420cc0
add esp, 0xc
call fcn.004093c0
mov byte [ebp - 4], 0x22
mov eax, ebx
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414f65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov eax, ebx
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414f86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x20
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414d6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x244]
jmp 0x4152ef
cmp eax, 2
jne 0x4151ba
lea eax, [esi + 0x314]
push eax
lea eax, [ebp - 0x238]
push str.Software_
push eax
call fcn.00422650
push str.ConsoleRestore
push eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x24
push eax
call fcn.00422a00
add esp, 0x18
mov esi, dword [esi + 0x304]
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push dword [eax]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push SysReAllocString
call eax
test eax, eax
jne 0x41506a
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415030
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push str.complete
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41506a
push dword [ebp - 0x224]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov edx, dword [ebp - 0x220]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415087
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, ebx
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4150a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
push ecx
mov dword [ebp - 0x220], esp
push dword [ebp - 0x23c]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x240], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.XdhithkbXubtshubXihibX
mov ecx, esi
mov byte [ebp - 4], 0x25
call fcn.00402a50
test al, al
jne 0x415100
push 0x16
push str.XdhithkbXubtshubXihibX
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x18
push eax
call fcn.00405440
mov esi, eax
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x238]
push dword [ebp - 0x24c]
push dword [ebp - 0x234]
push eax
call fcn.00420cc0
push esi
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x27
push eax
call fcn.00420cc0
add esp, 0x18
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x28
push eax
call fcn.00420cc0
add esp, 0xc
push eax
mov byte [ebp - 4], 0x29
push dword [ebp - 0x220]
call fcn.00420cc0
add esp, 0xc
call fcn.004093c0
mov byte [ebp - 4], 0x28
mov eax, ebx
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415190
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x27
mov eax, ebx
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4151b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
jmp 0x4152c8
push ecx
mov dword [ebp - 0x21c], esp
lea eax, [esi + 0x300]
push eax
lea eax, [esi + 0x318]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x240], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x415708
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.XdhithkbXubtshubXihibX
mov ecx, esi
mov byte [ebp - 4], 0x2a
call fcn.00402a50
test al, al
jne 0x415213
push 0x16
push str.XdhithkbXubtshubXihibX
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x18
push eax
call fcn.00405440
mov esi, eax
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x238]
push dword [ebp - 0x24c]
push dword [ebp - 0x234]
push eax
call fcn.00420cc0
push esi
push eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x2c
push eax
call fcn.00420cc0
add esp, 0x18
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x2d
push eax
call fcn.00420cc0
add esp, 0xc
push eax
mov byte [ebp - 4], 0x2e
push dword [ebp - 0x21c]
call fcn.00420cc0
add esp, 0xc
call fcn.004093c0
mov byte [ebp - 4], 0x2d
mov eax, ebx
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4152a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov eax, ebx
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4152c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2b
mov edx, dword [ebp - 0x238]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4152e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x22c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415306
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x248]
mov ecx, 0x5d9118
mov eax, dword [esi + 0x22880]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41533d
test dx, dx
je 0x415339
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41533d
add eax, 4
add ecx, 4
test dx, dx
jne 0x415317
xor eax, eax
jmp 0x415342
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4154e2
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov dword [ebp - 0x224], ecx
test eax, eax
jle 0x4154e2
test ecx, ecx
js 0x415717
cmp ecx, eax
jge 0x415717
mov eax, dword [esi + 0x1a4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax - 0x10]
mov dword [ebp - 0x21c], eax
lea esi, [eax - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x41539e
cmp ecx, dword [esi]
jne 0x41539e
lock inc dword [eax]
jmp 0x4153cf
mov eax, dword [ecx]
lea ebx, [esi + 4]
push 2
push dword [ebx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x415712
mov ecx, dword [ebx]
lea eax, [esi + 0x10]
mov dword [esi + 4], ecx
mov ecx, dword [ebx]
inc ecx
push ecx
push dword [ebp - 0x21c]
push ecx
push eax
call fcn.00403400
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x220], esi
mov byte [ebp - 4], 0x2f
lea ebx, [esi - 0x10]
push 1
push ecx
mov dword [ebp - 0x23c], esp
mov ecx, dword [ebx]
mov dword [ebp - 0x238], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x41540b
cmp ecx, dword [ebx]
jne 0x41540b
mov eax, ebx
lock inc dword [edx]
jmp 0x415441
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x415712
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
add eax, 0x10
mov ecx, dword [ebx + 4]
inc ecx
push ecx
push esi
push ecx
push eax
call fcn.00403400
mov eax, dword [ebp - 0x21c]
add esp, 0x10
mov ecx, dword [ebp - 0x23c]
add eax, 0x10
mov dword [ecx], eax
push ecx
mov esi, esp
mov byte [ebp - 4], 0x30
mov dword [ebp - 0x22c], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4156b8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x5d8fc0
mov ecx, esi
mov byte [ebp - 4], 0x31
call fcn.00402a50
test al, al
jne 0x415494
push 2
push 0x5d8fc0
mov ecx, esi
call fcn.00403260
mov esi, dword [ebp - 0x248]
mov ecx, esi
mov byte [ebp - 4], 0x30
mov byte [ebp - 4], 0x2f
call fcn.00408ab0
mov byte [ebp - 4], 0x18
lea ecx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4154c4
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x224]
mov eax, dword [esi + 0x1a8]
inc ecx
mov dword [ebp - 0x224], ecx
cmp ecx, eax
jl 0x415360
or ebx, 0xffffffff
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x228]
jmp 0x415669
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x224]
add eax, 0x10
mov dword [ecx], eax
push 0x5d8fc0
mov byte [ebp - 4], 0x33
call fcn.00402a50
test al, al
jne 0x415525
mov ecx, dword [ebp - 0x224]
push 2
push 0x5d8fc0
call fcn.00403260
mov byte [ebp - 4], 0x32
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00408ab0
push ecx
mov dword [ebp - 0x21c], esp
lea eax, [esi + 0x2f4]
push eax
lea eax, [esi + 0x318]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x240], esi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41571c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.XdhithkbXubtshubX
mov ecx, esi
mov byte [ebp - 4], 0x34
call fcn.00402a50
test al, al
jne 0x41558d
push 0x11
push str.XdhithkbXubtshubX
mov ecx, esi
call fcn.00403260
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 2
push eax
call fcn.00405440
mov esi, eax
mov byte [ebp - 4], 0x35
lea eax, [ebp - 0x238]
push dword [ebp - 0x24c]
push dword [ebp - 0x234]
push eax
call fcn.00420cc0
push esi
push eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x36
push eax
call fcn.00420cc0
add esp, 0x18
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x37
push eax
call fcn.00420cc0
add esp, 0xc
push eax
mov byte [ebp - 4], 0x38
push dword [ebp - 0x21c]
call fcn.00420cc0
add esp, 0xc
call fcn.004093c0
mov byte [ebp - 4], 0x37
mov eax, ebx
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41561d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x36
mov eax, ebx
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41563e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x35
mov eax, ebx
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41565f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x22c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415680
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41569c
mov ecx, dword [edi]
push edi
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.0056eb08
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
call fcn.004033f0
call fcn.004250c2
push 0x80004005
call fcn.004033d0
int3