Function at 0x100962f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10273901
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2130
call fcn.102332f0
mov eax, dword [0x1037c990]
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 esi, edx
mov dword [ebp - 0x2134], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2128], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x212c], eax
mov dword [ebp - 0x2138], ecx
mov dword [ebp - 0x2124], 0
lea eax, [ebp - 0x2018]
mov ecx, esi
call fcn.10096b20
test eax, eax
jl 0x100966fa
lea edx, [ebp - 0x2124]
push edx
lea ebx, [ebp - 0x2018]
call fcn.100960c0
add esp, 4
test eax, eax
jne 0x10096388
mov eax, 0x80020009
jmp 0x100966fa
call fcn.10097420
lea eax, [ebp - 0x2018]
mov ecx, esi
call fcn.10096b20
xor esi, esi
cmp eax, esi
jl 0x100966fa
movzx eax, word [ebp - 0x2124]
cmp eax, 0x13
jg 0x100965dd
je 0x10096579
cmp eax, 8
je 0x10096546
cmp eax, 0x11
jne 0x100966df
lea eax, [ebp - 0x2018]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov dword [ebp - 0x2124], ebx
test bl, 1
jne 0x100964a3
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x2130], edi
xor ecx, ecx
mov dword [ebp - 0x2120], ecx
mov esi, 4
mov dword [ebp - 4], esi
mov byte [ebp - 4], 5
mov eax, edi
mov dword [ebp - 0x2140], eax
mov dword [ebp - 0x213c], ecx
cmp ecx, ecx
ja 0x10096422
cmp eax, 0xffffffff
jbe 0x10096437
push ecx
push 0xb2
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlalloc.h
push 0x80070057
call fcn.100048f0
cmp eax, 0x100
jbe 0x1009644f
lea ecx, [ebp - 0x2120]
push ecx
call fcn.10096250
mov dword [ebp - 4], esi
jmp 0x10096479
lea edx, [ebp - 0x211c]
mov dword [ebp - 0x2120], edx
mov dword [ebp - 4], esi
jmp 0x10096479
mov eax, dword [ebp - 0x2120]
test eax, eax
jne 0x100964ad
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x211c]
cmp dword [ebp - 0x2120], eax
je 0x100964a3
lea eax, [ebp - 0x2120]
call fcn.10095a60
mov eax, 0x80004005
jmp 0x100966fa
push edi
push 0
push eax
call fcn.10232610
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x100964f9
nop
mov ecx, esi
shr ecx, 1
mov edx, dword [ebp - 0x2120]
lea ebx, [ecx + edx]
mov cx, word [ebp + esi*2 - 0x2018]
call fcn.10096280
mov ecx, esi
and ecx, 1
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, 4
sub ecx, edx
shl al, cl
or byte [ebx], al
inc esi
cmp esi, dword [ebp - 0x2124]
jl 0x100964c0
mov eax, dword [ebp - 0x2128]
mov eax, dword [eax]
push edi
mov ecx, dword [ebp - 0x2120]
push ecx
push 3
push 0
mov edx, dword [ebp - 0x212c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x211c]
cmp dword [ebp - 0x2120], eax
je 0x100966d0
lea eax, [ebp - 0x2120]
call fcn.10095a60
jmp 0x100966d0
lea ecx, [ebp - 0x2018]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x2018]
push eax
push 1
push esi
mov ecx, dword [ebp - 0x212c]
push ecx
mov edx, dword [edi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
jmp 0x100966d0
mov dword [ebp - 0x2128], esi
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2130]
push eax
push esi
push esi
lea ecx, [ebp - 0x2018]
push ecx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edx, dword [ebp - 0x2130]
mov dword [ebp - 0x2124], edx
push 4
lea eax, [ebp - 0x2124]
push eax
push 4
push esi
mov ecx, dword [ebp - 0x212c]
push ecx
mov edx, dword [edi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2128]
call fcn.10056e60
jmp 0x100966d0
cmp eax, 0x4008
jne 0x100966df
lea eax, [ebp - 0x2018]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [ebp - 0x2120], esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2120]
call fcn.100961b0
mov dword [ebp - 4], 0
jmp 0x1009662c
mov esi, dword [ebp - 0x2120]
test esi, esi
je 0x100966ab
lea ebx, [ebp - 0x2018]
cmp word [ebp - 0x2018], 0
je 0x10096686
mov edi, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
push ebx
call edi
movzx ecx, word [ebx]
cmp cx, 0x5c
jne 0x10096671
cmp word [eax], 0x30
jne 0x10096671
xor ecx, ecx
mov word [esi], cx
add esi, 2
push eax
call edi
mov ebx, eax
jmp 0x1009667a
mov word [esi], cx
add esi, 2
add ebx, 2
cmp word [ebx], 0
jne 0x10096650
mov edi, dword [ebp - 0x2128]
xor edx, edx
mov word [esi], dx
add esi, 2
xor eax, eax
mov word [esi], ax
mov ecx, dword [ebp - 0x2120]
push ecx
mov edx, dword [ebp - 0x212c]
push edx
push edi
call fcn.10096200
mov ebx, eax
jmp 0x100966b0
mov ebx, 0xe
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x211c]
cmp dword [ebp - 0x2120], eax
je 0x100966d0
lea eax, [ebp - 0x2120]
call fcn.10095a60
xor esi, esi
cmp ebx, esi
je 0x100966df
mov eax, ebx
call fcn.10096ae0
jmp 0x100966fa
mov eax, dword [ebp - 0x2138]
mov ecx, dword [ebp - 0x2134]
call fcn.10096b20
xor ecx, ecx
cmp eax, esi
setge cl
dec ecx
and eax, ecx
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.1022e78c
mov esp, ebp
pop ebp
ret 8