Function at 0x48a0d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6a38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e5c64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48a119
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov ebx, 1
mov byte [ebp - 4], bl
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48a14a
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jl 0x48a17f
push 0x4d63c4
push eax
call fcn.0049dc91
add esp, 8
test eax, eax
je 0x48a17f
sub eax, dword [ebp + 0xc]
sar eax, 1
jns 0x48a1f8
add esi, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a19e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a1be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, ebx
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x20], eax
call fcn.00423631
mov byte [ebp - 4], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x48a263
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x48a256
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x48a256
push eax
call fcn.00423f8a
mov dword [ebp - 0x18], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x48a24b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
mov dword [ebp - 0x14], ecx
jmp 0x48a263
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423f19
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48a286
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [ebp - 0x14]
call fcn.00489fb0
mov edi, ebx
call fcn.00489d70
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
sub eax, dword [ebp - 0x20]
lea edx, [ebp - 0x20]
dec eax
push eax
push edx
lea ecx, [ebp + 0xc]
call fcn.004235ea
mov byte [ebp - 4], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x48a304
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x48a2f4
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x48a2f4
push eax
call fcn.00423f8a
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x48a2ec
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x10], esi
jmp 0x48a304
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00423f19
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a327
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi - 0xc], 0
jge 0x48a337
push 0x80070057
call fcn.00421000
movzx eax, word [esi]
cmp ax, 0x22
jne 0x48a389
lea ebx, [ebp - 0x10]
call fcn.00489fb0
mov edi, ebx
call fcn.00489d70
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48a67e
push esi
push edi
push str._ERROR:__S_str__S_n
call fcn.004a06b4
add esp, 0xc
jmp 0x48a67e
push 6
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00423631
mov eax, dword [eax]
push str.dword:
push eax
call fcn.0049dd50
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a3cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48a490
mov edi, dword [esi - 0xc]
mov ebx, 6
cmp edi, ebx
jge 0x48a3e5
mov ebx, edi
test edi, edi
jle 0x48a446
sub edi, ebx
cmp dword [esi - 4], 1
jle 0x48a3fc
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042157e
mov esi, dword [ebp - 0x10]
lea eax, [edi + edi + 2]
push eax
lea edx, [esi + ebx*2]
push edx
push eax
push esi
call fcn.0049d6ce
add esp, 0x10
cmp eax, 0x50
ja case.0x48a41b.1
movzx eax, byte [eax + 0x48a710]
jmp dword [eax*4 + 0x48a700]
call fcn.0048facd
call fcn.0048fb05
test edi, edi
jl 0x48a32d
cmp edi, dword [esi - 8]
jg 0x48a32d
xor ecx, ecx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], cx
push 0x10
push 0
push esi
call fcn.004a234f
mov ecx, dword [ebp + 8]
add esp, 0xc
push 4
lea edx, [ebp - 0x18]
push edx
push 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48a67e
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push edx
push eax
push str._ERROR:__S_dw_0x_x_n
call fcn.004a06b4
add esp, 0xc
jmp 0x48a67e
push 4
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00423631
mov eax, dword [eax]
push str.hex_
push eax
call fcn.0049dd50
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48a4d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48a67e
cmp dword [esi - 0xc], 0
jl 0x48a67e
push 0x4d641c
push esi
call fcn.0049dc91
add esp, 8
test eax, eax
je 0x48a67e
sub eax, esi
sar eax, 1
mov ebx, eax
js 0x48a67e
mov eax, dword [esi - 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0049e212
add esp, 4
lea ecx, [ebx - 4]
push ecx
push 4
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
xor edi, edi
call fcn.00427d8c
mov eax, dword [eax]
push 0x10
push edi
push eax
call fcn.004a234f
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a55e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
lea ecx, [ebp - 0x10]
lea eax, [ebx + 2]
push ecx
call fcn.004234d9
mov esi, dword [ebp - 0x10]
mov edx, dword [esi - 0xc]
test edx, edx
jle 0x48a645
xor eax, eax
lea esp, [esp]
test eax, eax
jl 0x48a32d
cmp eax, edx
jg 0x48a32d
movzx ecx, word [esi + eax*2]
cmp cx, 0x30
jb 0x48a5a0
cmp cx, 0x39
jbe 0x48a5b9
cmp cx, 0x61
jb 0x48a5ac
cmp cx, 0x7a
jbe 0x48a5b9
add ecx, 0xffffffbf
cmp cx, 0x19
ja 0x48a645
lea ecx, [eax + 1]
test ecx, ecx
jl 0x48a32d
cmp ecx, edx
jg 0x48a32d
movzx ecx, word [esi + ecx*2]
cmp cx, 0x30
jb 0x48a5dc
cmp cx, 0x39
jbe 0x48a5f1
cmp cx, 0x61
jb 0x48a5e8
cmp cx, 0x7a
jbe 0x48a5f1
add ecx, 0xffffffbf
cmp cx, 0x19
ja 0x48a645
push 2
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x10]
call fcn.00427d8c
mov eax, dword [eax]
push 0x10
push 0
push eax
call fcn.004a2324
mov ebx, dword [ebp - 0x18]
mov byte [edi + ebx], al
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a634
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi - 0xc]
inc edi
lea eax, [edi + edi*2]
cmp eax, edx
jl 0x48a580
jmp 0x48a648
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp - 0x1c]
push ebx
push edi
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48a675
mov eax, dword [ebp - 0x14]
push esi
push edi
push eax
push str._ERROR:__S_hex_d__S_n
call fcn.004a06b4
add esp, 0x10
push ebx
call fcn.0049e0f5
add esp, 4
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a69e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a6c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a6e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret