Function at 0x467970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ee31
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1128
call fcn.00486960
mov eax, dword [0x4b04dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x112c], eax
mov dword [ebp - 0x1138], ecx
lea eax, [ebp - 0x1018]
mov ecx, esi
mov dword [ebp - 0x1134], esi
mov dword [ebp - 0x1128], edi
mov dword [ebp - 0x1124], 0
call fcn.00467830
test eax, eax
js 0x467df7
lea edx, [ebp - 0x1124]
push edx
lea ebx, [ebp - 0x1018]
call fcn.00467700
add esp, 4
test eax, eax
jne 0x467a08
mov eax, 0x80020009
jmp 0x467df7
call fcn.004677e0
lea eax, [ebp - 0x1018]
mov ecx, esi
call fcn.00467830
xor esi, esi
cmp eax, esi
jl 0x467df7
movzx eax, word [ebp - 0x1124]
cmp eax, 0x13
jg 0x467cc1
je 0x467bde
cmp eax, 8
je 0x467bae
cmp eax, 0x11
jne 0x467ddc
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov dword [ebp - 0x1130], ebx
test bl, 1
jne 0x467af4
cdq
sub eax, edx
mov edi, eax
sar edi, 1
xor eax, eax
mov dword [ebp - 0x1124], edi
mov dword [ebp - 0x1120], eax
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
cmp eax, eax
ja 0x467a93
cmp edi, 0xffffffff
jbe 0x467a9d
push 0x80070216
call fcn.00402500
cmp edi, 0x100
jbe 0x467ac9
lea ecx, [ebp - 0x1120]
push ecx
mov eax, edi
call fcn.004697f0
jmp 0x467ad5
lea edx, [ebp - 0x111c]
mov dword [ebp - 0x1120], edx
mov eax, dword [ebp - 0x1120]
test eax, eax
jne 0x467afe
lea eax, [ebp - 0x111c]
test eax, eax
je 0x467af4
lea eax, [ebp - 0x1120]
call fcn.004697e0
mov eax, 0x80004005
jmp 0x467df7
push edi
push 0
push eax
call fcn.00480950
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x467b68
mov al, byte [ebp + esi - 0x1018]
movsx ecx, al
mov edx, esi
shr edx, 1
add edx, dword [ebp - 0x1120]
add ecx, 0xffffffd0
cmp ecx, 0x36
ja case.0x467b33.58
movzx ecx, byte [ecx + 0x467e2c]
jmp dword [ecx*4 + 0x467e1c]
sub al, 0x30
jmp 0x467b48
sub al, 0x37
jmp 0x467b48
sub al, 0x57
jmp 0x467b48
xor al, al
mov ecx, esi
and ecx, 1
add ecx, ecx
lea edi, [ecx + ecx]
mov ecx, 4
sub ecx, edi
shl al, cl
inc esi
or byte [edx], al
cmp esi, ebx
jl 0x467b10
mov edi, dword [ebp - 0x1124]
mov ecx, dword [ebp - 0x1120]
mov edx, dword [ebp - 0x1128]
mov eax, dword [edx]
mov edx, dword [ebp - 0x112c]
push edi
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
lea eax, [ebp - 0x111c]
cmp dword [ebp - 0x1120], eax
je 0x467dcd
lea eax, [ebp - 0x1120]
call fcn.004697e0
jmp 0x467dcd
lea ecx, [ebp - 0x1018]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [edi]
inc eax
push eax
mov eax, dword [ebp - 0x112c]
lea edx, [ebp - 0x1018]
push edx
push 1
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
jmp 0x467dcd
mov dword [ebp - 0x1128], esi
lea edx, [ebp - 0x1018]
push edx
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x1124]
inc eax
push ecx
mov dword [ebp - 0x1124], eax
call fcn.00465d40
add esp, 4
test eax, eax
js 0x467c5f
mov ebx, dword [ebp - 0x1124]
cmp ebx, 0x400
jg 0x467c3b
push ebx
call fcn.00465da0
add esp, 4
test al, al
je 0x467c3b
mov eax, ebx
call fcn.00485890
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x467c4a
mov eax, ebx
lea esi, [ebp - 0x1128]
call fcn.004696f0
mov esi, eax
mov edx, ebx
push 3
shr edx, 1
lea eax, [ebp - 0x1018]
call fcn.00465e60
test eax, eax
jne 0x467c74
lea esi, [ebp - 0x1128]
call fcn.00435180
mov eax, 0x8007000e
jmp 0x467df7
lea edx, [ebp - 0x1130]
push edx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x1130]
mov edx, dword [ebp - 0x112c]
push 4
lea ecx, [ebp - 0x1124]
push ecx
push 4
push 0
mov dword [ebp - 0x1124], eax
mov eax, dword [edi]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea esi, [ebp - 0x1128]
mov ebx, eax
call fcn.00435180
jmp 0x467dcd
cmp eax, 0x4008
jne 0x467ddc
lea ecx, [ebp - 0x1018]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 2
mov dword [ebp - 0x1120], esi
xor ecx, ecx
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
cmp ecx, esi
ja 0x467cf4
cmp eax, 0xffffffff
jbe 0x467cfe
push 0x80070216
call fcn.00402500
cmp eax, 0x100
jbe 0x467d21
lea edx, [ebp - 0x1120]
push edx
call fcn.004697f0
jmp 0x467d2d
lea eax, [ebp - 0x111c]
mov dword [ebp - 0x1120], eax
mov ebx, dword [ebp - 0x1120]
test ebx, ebx
je 0x467daf
cmp byte [ebp - 0x1018], 0
lea esi, [ebp - 0x1018]
je 0x467d92
mov edi, dword [sym.imp.USER32.dll_CharNextA]
lea esp, [esp]
push esi
call edi
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x467d6a
cmp byte [eax], 0x30
jne 0x467d6a
mov byte [ebx], 0
push eax
inc ebx
call edi
mov esi, eax
jmp 0x467d87
mov byte [ebx], cl
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x467d85
mov al, byte [esi + 1]
inc esi
inc ebx
test al, al
je 0x467d8c
mov byte [ebx], al
inc ebx
inc esi
cmp byte [esi], 0
jne 0x467d50
mov edi, dword [ebp - 0x1128]
mov eax, dword [ebp - 0x112c]
mov word [ebx], 0
mov edx, dword [ebp - 0x1120]
push edx
push eax
push edi
call fcn.00466570
mov ebx, eax
jmp 0x467db4
mov ebx, 0xe
lea ecx, [ebp - 0x111c]
cmp dword [ebp - 0x1120], ecx
je 0x467dcd
lea eax, [ebp - 0x1120]
call fcn.004697e0
xor esi, esi
cmp ebx, esi
je 0x467ddc
mov eax, ebx
call fcn.004660a0
jmp 0x467df7
mov eax, dword [ebp - 0x1138]
mov ecx, dword [ebp - 0x1134]
call fcn.00467830
xor edx, edx
cmp eax, esi
setge dl
dec edx
and eax, edx
lea esp, [ebp - 0x1148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00475dcc
mov esp, ebp
pop ebp
ret 8