Function at 0x543450
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c1868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov al, byte [esi + 0x30d9]
mov dword [esp + 0x38], ebx
cmp al, bl
je 0x54354e
fld qword [esi + 0x30c8]
fcomp qword [0x5cf380]
fnstsw ax
test ah, 0x40
je 0x54354e
lea eax, [esp + 0x38]
mov edi, 0xd
push eax
lea ecx, [esp + 0x24]
lea ebp, [esi + 0x10]
push edi
push ecx
mov ecx, ebp
mov byte [esp + 0x2c], 0x46
mov byte [esp + 0x2d], 0x4c
mov byte [esp + 0x2e], 0x56
mov byte [esp + 0x2f], 1
mov byte [esp + 0x30], 5
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 9
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov dword [esp + 0x1c], edi
call fcn.0050c6c0
cmp dword [esp + 0x38], edi
jne 0x544213
mov edx, dword [esi + 0x38]
mov byte [esi + 0x30d9], bl
add edx, edi
mov dword [esi + 0x38], edx
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
adc ecx, ebx
add edx, edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edx
mov ecx, dword [esi + 0x44]
adc ecx, ebx
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx]
add edx, edi
mov dword [ecx], edx
mov edx, dword [ecx + 4]
adc edx, ebx
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
add edx, edi
mov dword [ecx], edx
mov edx, dword [ecx + 4]
adc edx, ebx
cmp eax, ebx
mov dword [ecx + 4], edx
je 0x544213
mov edi, dword [esp + 0x180]
mov eax, dword [esp + 0x17c]
lea edx, [esp + 0x38]
lea ebp, [esi + 0x10]
push edx
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.0050c6c0
cmp eax, ebx
je 0x544213
cmp edi, dword [esp + 0x38]
jne 0x544213
mov ecx, dword [esi + 0x4654]
mov eax, dword [esi + 0x4650]
add ecx, 0x96000
cmp eax, ecx
jle 0x5435a0
mov ecx, esi
call fcn.005449b0
mov ecx, dword [esi + 0x38]
mov ebp, dword [esi + 0x40]
add ecx, edi
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x3c]
adc eax, ebx
add ebp, edi
mov dword [esi + 0x40], ebp
mov edx, dword [esi + 0x44]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x64]
adc edx, ebx
mov dword [esi + 0x44], edx
mov ecx, dword [eax]
add ecx, edi
mov dword [eax], ecx
mov ebp, dword [eax + 4]
adc ebp, ebx
mov dword [eax + 4], ebp
mov eax, dword [esi + 0x68]
mov edx, dword [eax]
add edx, edi
lea edi, [esi + 0x30c]
mov dword [eax], edx
mov ecx, dword [eax + 4]
adc ecx, ebx
push edi
mov dword [eax + 4], ecx
call fcn.005801dc
mov eax, dword [edi]
mov ecx, dword [esi + 0x300]
mov edi, dword [esi + 0x80]
add esp, 4
sub eax, ecx
mov dword [esi + 0x318], eax
mov dword [esp + 0x30], eax
je 0x5436bc
mov ebp, dword [edi + 0x3dc]
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
je 0x543694
fild dword [esp + 0x1c]
lea edx, [ebp + 1]
fstp qword [esp + 0x70]
fild dword [esp + 0x30]
mov dword [esp + 0x30], edx
fstp qword [esp + 0x20]
fild dword [esp + 0x30]
fst qword [esp + 0x80]
fld qword [esp + 0x70]
fmul qword [edi + 0x3b0]
fadd qword [esp + 0x20]
fdivrp st(1)
fst qword [esp + 0x78]
fstp qword [edi + 0x3b0]
fld qword [esp + 0x20]
fsub qword [esp + 0x78]
fld qword [0x5ee070]
call fcn.00580c90
fdiv qword [esp + 0x80]
fld qword [esp + 0x70]
fmul qword [edi + 0x3c0]
fdiv qword [esp + 0x80]
faddp st(1)
fstp qword [edi + 0x3c0]
fld qword [esp + 0x20]
jmp 0x54369e
fild dword [esp + 0x30]
fst qword [edi + 0x3b0]
fcom qword [edi + 0x3d0]
fnstsw ax
test ah, 0x41
jne 0x5436b3
fstp qword [edi + 0x3d0]
jmp 0x5436b5
fstp st(0)
inc ebp
mov dword [edi + 0x3dc], ebp
mov ecx, esi
call fcn.00509a70
mov al, byte [esi + 0x30d4]
mov dword [esi + 0x74], ebx
cmp al, bl
jne 0x5436fa
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x4688]
sub ecx, edx
mov eax, dword [esi + 0x30d0]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
fild qword [esp + 0x20]
fmul qword [0x5ee068]
fadd qword [eax]
fstp qword [eax]
mov cl, byte [esi + 0x30d4]
mov eax, dword [esi + 0x9c]
mov edi, dword [esi + 0x4688]
cmp cl, bl
mov dword [esi + 0x4688], eax
jne 0x5437d8
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x38]
cmp edx, ebx
je 0x543786
mov edx, dword [edx + 0x1c]
cmp eax, edx
jb 0x5437d8
cmp edi, edx
jae 0x543753
mov ecx, dword [esi + 0x30d0]
sub eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
fld qword [ecx]
fild qword [esp + 0x20]
fmul qword [0x5ee068]
fsubp st(1)
fstp qword [ecx]
mov edx, dword [esi + 0x60]
push 1
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x1c]
mov byte [esi + 0x30d4], 1
mov dword [esi + 0x310c], ecx
mov edx, dword [0x67a5a0]
push edx
mov ecx, esi
call fcn.00508cb0
mov ecx, dword [esi + 0x30c4]
call fcn.00547300
jmp 0x5437d8
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x5437d8
cmp eax, edx
jb 0x5437d8
cmp edi, edx
jae 0x5437b5
mov ecx, dword [esi + 0x30d0]
sub eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
fld qword [ecx]
fild qword [esp + 0x20]
fmul qword [0x5ee068]
fsubp st(1)
fstp qword [ecx]
mov eax, dword [esi + 0x60]
mov byte [esi + 0x30d4], 1
push 1
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x310c], ecx
mov edx, dword [0x67a5a0]
push edx
mov ecx, esi
call fcn.00508cb0
mov edx, dword [esi + 0x46a8]
mov eax, dword [esi + 0x46a0]
mov ebp, dword [esi + 0x46ac]
lea edi, [esi + 0x46a8]
cmp edx, eax
jne 0x543800
cmp ebp, dword [esi + 0x46a4]
je 0x54420f
mov ecx, dword [esi + 0x46b4]
xor eax, eax
add ecx, edx
mov edx, dword [esi + 0x3c]
adc eax, ebp
add ecx, 0xf
adc eax, ebx
cmp edx, eax
jl 0x54420f
jg 0x543829
mov eax, dword [esi + 0x38]
cmp eax, ecx
jb 0x54420f
mov ecx, dword [esi + 0x60]
push edi
mov edx, dword [ecx + 0x40]
mov ecx, dword [esi + 0x30c4]
push edx
call fcn.00547aa0
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x46a0], ecx
mov dword [esi + 0x46a4], ebp
mov edx, dword [eax + 0x38]
cmp edx, ebx
je 0x5439f9
mov ebp, dword [esi + 0x9c]
cmp ebp, dword [edx + 0x1c]
jb 0x54420f
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x10]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x46b4]
add eax, 0xf
push edx
push eax
mov eax, dword [edi + 4]
push eax
push ecx
mov ecx, dword [esi + 0x46b0]
push ecx
mov ecx, esi
call fcn.00545f00
test eax, eax
je 0x543924
mov edx, dword [esi + 0x3108]
mov eax, dword [esi + 0x46b4]
lea ecx, [edx + eax + 0xf]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x38]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x60]
mov ecx, dword [ecx + 0x38]
call fcn.00508bb0
mov edx, dword [esi + 0x46b4]
mov ebp, dword [edi]
mov ecx, edx
xor eax, eax
add ecx, ebp
mov ebp, dword [edi + 4]
adc eax, ebp
add ecx, 0xf
adc eax, ebx
mov ebx, dword [esi + 0x3c]
cmp ebx, eax
jl 0x5438fc
jg 0x5438e7
mov eax, dword [esi + 0x38]
cmp eax, ecx
jbe 0x5438fc
mov ecx, dword [esi + 0x38]
mov ebx, dword [edi]
sub ecx, ebx
sub ecx, edx
sub ecx, 0xf
push ecx
lea ecx, [esi + 0x10]
call fcn.0050c390
mov edx, dword [esi + 0x80]
push 1
mov byte [edx + 0x2b3], 1
mov ecx, dword [esi + 0x30c4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, esi
call fcn.00545c40
xor eax, eax
jmp 0x544282
cmp dword [esp + 0x10], ebx
je 0x543938
mov ecx, esi
call fcn.005431d0
xor eax, eax
jmp 0x544282
mov ecx, dword [esi + 0x46c8]
inc ecx
mov eax, ecx
mov dword [esi + 0x46c8], ecx
cmp eax, 0xa
jle 0x54420f
mov ecx, dword [esi + 0x80]
cmp byte [ecx + 0x2b3], bl
jne 0x54420f
mov edx, dword [esi + 0x30c4]
cmp dword [edx + 0xec], ebx
jne 0x54420f
push 0x66cb94
mov ecx, esi
call fcn.00508d80
mov ecx, dword [esi + 0x30c4]
push 2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x60]
xor edi, edi
mov edx, dword [ecx + 0x38]
mov ebp, dword [edx]
cmp ebp, ebx
je 0x5439ab
mov edi, dword [ebp + 0x9c]
cmp edi, ebx
jne 0x5439ab
mov edi, dword [ebp + 0x98]
mov ecx, esi
call fcn.005431d0
cmp ebp, ebx
je 0x54420f
mov dword [ebp + 0x5c], 0xe
mov dword [ebp + 0x54], ebx
mov eax, dword [esi + 0x9c]
cmp eax, edi
jae 0x54420f
mov esi, dword [esi + 0x30d0]
sub edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
fld qword [esi]
fild qword [esp + 0x20]
xor eax, eax
fmul qword [0x5ee068]
fsubp st(1)
fstp qword [esi]
jmp 0x544282
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x54420f
cmp dword [esi + 0x9c], edx
jb 0x54420f
mov edx, dword [eax + 0x2c]
cmp edx, ebx
je 0x543a1b
mov eax, edx
jmp 0x543a1e
add eax, 0x30
lea edx, [esp + 0x88]
push edx
push eax
mov eax, dword [esi + 0x46b4]
add eax, 0xf
push eax
push ebp
push ecx
mov ecx, dword [esi + 0x46b0]
push ecx
mov ecx, esi
call fcn.00545f00
test eax, eax
je 0x543b77
mov edx, dword [esi + 0x3108]
mov eax, dword [esi + 0x46b4]
mov ecx, dword [0x6754d4]
lea ebp, [edx + eax + 0xf]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x10]
mov dword [esp + 0x174], ebx
mov eax, dword [edx + 0x28]
push eax
push 0x64eff4
push ecx
call fcn.00593b08
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x34]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esi + 0x30c4]
push eax
mov dword [esp + 0x3c], 0x10
mov eax, dword [edx + 0xbc]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x543af2
push 1
push ebx
push ebx
push ebp
call fcn.00581190
mov ecx, dword [esp + 0x28]
xor ebp, ebp
add eax, ecx
mov ecx, dword [esi + 0x30c4]
adc edx, ebp
push 0x10
mov dword [esp + 0x30], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [ecx + 0xbc]
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x543afe
push 0x66cb7c
mov ecx, esi
call fcn.00508d80
mov edx, dword [esi + 0x46b4]
mov ebp, dword [edi]
mov ecx, edx
xor eax, eax
add ecx, ebp
mov ebp, dword [edi + 4]
adc eax, ebp
add ecx, 0xf
adc eax, ebx
mov ebx, dword [esi + 0x3c]
cmp ebx, eax
jl 0x543b3b
jg 0x543b26
mov eax, dword [esi + 0x38]
cmp eax, ecx
jbe 0x543b3b
mov ecx, dword [esi + 0x38]
mov ebx, dword [edi]
sub ecx, ebx
sub ecx, edx
sub ecx, 0xf
push ecx
lea ecx, [esi + 0x10]
call fcn.0050c390
mov edx, dword [esi + 0x80]
push 1
mov byte [edx + 0x2b3], 1
mov ecx, dword [esi + 0x30c4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, esi
call fcn.00545c40
lea ecx, [esp + 0x10]
mov dword [esp + 0x174], 0xffffffff
call fcn.0059ad3d
xor eax, eax
jmp 0x544282
cmp dword [esp + 0x88], ebx
je 0x54420f
mov ecx, dword [0x6754d4]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x60]
mov dword [esp + 0x174], 1
add eax, 0x2c
mov ecx, dword [eax]
cmp ecx, ebx
je 0x543ba9
mov eax, ecx
jmp 0x543bac
add eax, 4
push eax
call fcn.00580313
add esp, 4
cmp eax, 0xffffffff
jne 0x543be1
mov edx, dword [esi + 0x60]
add edx, 0x2c
sub esp, 0xc
mov eax, esp
mov ecx, dword [edx]
push 0x667710
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
lea eax, [esp + 0x24]
push eax
jmp 0x543c06
mov ecx, dword [esi + 0x60]
add ecx, 0x2c
sub esp, 0xc
mov edx, esp
mov eax, dword [ecx]
push 0x66cb64
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
lea edx, [esp + 0x24]
push edx
call fcn.00593b08
mov eax, dword [esp + 0x28]
add esp, 0x14
mov ecx, esi
push eax
call fcn.00508d80
mov dword [esi + 0x3108], ebx
mov byte [esi + 0x30d4], bl
mov dword [esi + 0x310c], ebx
mov ecx, dword [0x6754d4]
mov ebp, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x80], ebp
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 2
mov eax, dword [edx + 0x28]
push eax
push 0x64eff4
push ecx
call fcn.00593b08
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x80]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
mov edx, dword [esi + 0x30c4]
lea eax, [esp + 0x40]
push eax
mov eax, dword [edx + 0xbc]
push ebx
push ebx
push ecx
push eax
call edi
cmp eax, ebx
je 0x543cb4
push eax
lea ecx, [esp + 0x18]
push 0x667878
push ecx
call fcn.00593b08
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push edx
call fcn.00508d80
jmp 0x5441ea
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x78]
push eax
push 0x667fc8
push ecx
call fcn.0057f2ea
add esp, 0xc
lea edx, [esp + 0x30]
lea eax, [esp + 0x9c]
mov dword [esp + 0x30], ebp
push edx
mov edx, dword [esi + 0x30c4]
push eax
push ebx
mov eax, dword [edx + 0xbc]
lea ecx, [esp + 0x84]
push ebx
push ecx
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call edi
cmp eax, ebx
jne 0x543da0
mov ecx, dword [esp + 0xa4]
cmp ecx, 0xffffffff
je 0x543da0
mov eax, dword [esi + 0x9c]
cmp eax, ecx
jbe 0x543d4f
sub eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x30d0]
fild qword [esp + 0x20]
fmul qword [0x5ee068]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [eax]
fstp qword [eax]
jmp 0x543da0
mov edx, dword [0x6754d4]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x66cb30
push eax
mov byte [esp + 0x18c], 3
call fcn.00593b08
mov ecx, dword [esp + 0x34]
add esp, 0x18
push ecx
mov ecx, esi
call fcn.00508d80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 2
call fcn.0059ad3d
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x544036
mov edx, dword [0x6754d4]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x1c], edx
push eax
lea eax, [esp + 0x20]
push 0x64eff4
push eax
mov byte [esp + 0x180], 4
call fcn.00593b08
mov eax, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x70]
lea edx, [esp + 0x8c]
push ecx
mov ecx, dword [esi + 0x30c4]
push edx
push ebx
mov edx, dword [ecx + 0xbc]
push ebx
push eax
push edx
call edi
cmp eax, ebx
jne 0x544023
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x94]
push 0xa
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0xb0]
mov dword [edx + 0x28], eax
mov edx, dword [esp + 0x90]
push ecx
push edx
call fcn.0057ff82
mov ebp, dword [esi + 0x60]
mov edi, eax
mov eax, dword [esi + 0x30c4]
add esp, 0xc
add ebp, 0x2c
mov ecx, dword [eax + 0x68]
mov eax, 0x64f030
test eax, eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x10], edx
je 0x543fbf
mov eax, edx
cmp eax, ebx
je 0x543fbf
cmp edi, ebx
je 0x543fbf
push ebx
push 0x64f030
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov word [esp + 0x70], bx
call fcn.004028e0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x174], 5
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov word [esp + 0x54], bx
call fcn.00401fc0
push edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x178], 6
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov word [esp + 0x60], bx
call fcn.00401fc0
mov ecx, ebp
mov byte [esp + 0x174], 7
call fcn.00401070
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x543ee5
lea eax, [esp + 0x50]
mov edi, dword [esp + 0x58]
cmp edi, ebx
jne 0x543ef1
lea edi, [esp + 0x5c]
mov edx, dword [esp + 0x6c]
push eax
mov dword [esp + 0x38], edx
call fcn.0057e90a
mov edx, eax
push edi
mov dword [esp + 0x18], edx
call fcn.0057e90a
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
add ecx, edx
lea eax, [eax + ecx + 3]
mov dword [esp + 0x3c], eax
lea edi, [eax + eax]
push edi
call fcn.005970d9
mov edx, eax
add esp, 0xc
cmp edx, ebx
mov dword [ebp], edx
je 0x543f8c
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov edx, eax
jne 0x543f54
lea edx, [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
jne 0x543f60
lea ecx, [esp + 0x50]
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x543f6c
lea eax, [esp + 0x68]
push edx
push ecx
mov ecx, dword [ebp]
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
call fcn.0057e89a
mov edx, dword [ebp]
push edx
call fcn.0057e90a
add esp, 0x18
mov dword [ebp + 8], eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x174], 6
call fcn.00401070
lea ecx, [esp + 0x4c]
mov byte [esp + 0x174], 5
call fcn.00401070
lea ecx, [esp + 0x64]
mov byte [esp + 0x174], 4
call fcn.00401070
mov eax, dword [esi + 0x60]
lea edx, [esp + 0x8c]
push 0x10
push edx
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + 0x30c4]
mov dword [esp + 0xa0], ebx
push ebx
mov edx, dword [ecx + 0xbc]
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x9c]
cmp ecx, dword [eax + 0x20]
jb 0x544023
mov byte [esi + 0x30d4], 1
mov edx, dword [eax + 0x20]
mov eax, dword [esi + 0x30d0]
mov dword [esi + 0x310c], edx
fld qword [eax]
fsub qword [esp + 0x20]
fstp qword [eax]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 2
call fcn.0059ad3d
jmp 0x5440a1
mov eax, dword [esi + 0x60]
mov dword [eax + 0x20], ebx
mov ebp, dword [esi + 0x60]
add ebp, 0x2c
mov ecx, ebp
call fcn.00401070
mov ecx, 0x679a28
test ecx, ecx
je 0x5440a1
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5440a1
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push 0x679a28
push ebx
push ebx
call edi
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x5440a1
lea edx, [eax + eax + 2]
push edx
call fcn.005970d9
add esp, 4
cmp eax, ebx
mov dword [ebp], eax
je 0x5440a1
mov ecx, dword [ebp + 8]
push ecx
push eax
push 0xffffffffffffffff
push 0x679a28
push ebx
push ebx
call edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x30c4]
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebp, dword [esp + 0x40]
mov ecx, dword [eax + 0xbc]
push edx
push ecx
call edi
mov eax, dword [esi + 0x30c4]
lea edx, [esp + 0x78]
push edx
mov ecx, dword [eax + 0xbc]
push ecx
call edi
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push 0x66cb00
push eax
call fcn.00593b08
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00508d80
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x18]
mov eax, dword [edx + 0x40]
push eax
push 0x64eff4
push ecx
call fcn.00593b08
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x30]
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esi + 0x30c4]
push eax
mov dword [esp + 0x38], 0x10
mov eax, dword [edx + 0xbc]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x54415e
push eax
lea ecx, [esp + 0x18]
push 0x667878
push ecx
call fcn.00593b08
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push edx
call fcn.00508d80
cmp ebp, 0xffffffff
mov dword [esp + 0x40], ebp
je 0x544173
mov eax, dword [esi + 0x30c4]
dec ebp
mov dword [eax + 0x74], ebp
jmp 0x54418b
mov eax, dword [esi + 0x30c4]
mov ecx, dword [eax + 0x78]
mov dword [eax + 0x74], ecx
mov edx, dword [esi + 0x30c4]
mov dword [edx + 0xac], ebx
mov edx, dword [esi + 0x30c4]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push 0x10
push eax
mov eax, dword [edx + 0xbc]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push 0x667834
push eax
call fcn.00593b08
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push ecx
mov ecx, esi
call fcn.00508d80
mov ecx, esi
call fcn.0050ac50
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call fcn.0059ad3d
lea ecx, [esp + 0x14]
mov dword [esp + 0x174], 0xffffffff
call fcn.0059ad3d
xor eax, eax
jmp 0x544282
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
lea ecx, [esp + 0xf8]
push 0x668dc4
push ecx
call fcn.0057f2ea
add esp, 0x14
lea edx, [esp + 0xec]
mov ecx, esi
push edx
call fcn.00508d80
cmp ebx, 5
jne 0x54425d
mov eax, dword [0x67ada4]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0050c130
mov ecx, esi
call fcn.0050b0d0
test eax, eax
je 0x54426f
mov eax, 0xfffffffb
jmp 0x544282
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x10]
mov ecx, ebp
push edx
call fcn.0050c300
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x168
ret 8