Function at 0x10002d4d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005429f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2134
call fcn.10033470
mov eax, dword [0x10075098]
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 dword [ebp - 0x2128], ecx
mov dword [ebp - 0x2138], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x212c], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2124], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x213c], eax
xor ebx, ebx
mov dword [ebp - 0x211c], ebx
lea eax, [ebp - 0x2014]
push eax
call fcn.10002bf2
test eax, eax
js 0x10003201
lea edx, [ebp - 0x211c]
lea ecx, [ebp - 0x2014]
call fcn.10002b2d
test eax, eax
jne 0x10002de5
mov eax, 0x80020009
jmp 0x10003201
mov ecx, dword [ebp - 0x2128]
call fcn.10002bc7
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x2128]
call fcn.10002bf2
test eax, eax
js 0x10003201
movzx eax, word [ebp - 0x211c]
sub eax, 8
je 0x100031b0
sub eax, 9
je 0x10002ff8
push 2
pop edi
sub eax, edi
je 0x10002f96
sub eax, 0x3ff5
jne 0x100031e7
lea eax, [ebp - 0x2014]
push eax
call fcn.1003d089
pop ecx
add eax, edi
mov dword [ebp - 0x2118], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mul edi
mov dword [ebp - 0x2134], eax
mov dword [ebp - 0x2130], edx
cmp edx, ebx
ja 0x1000321d
cmp eax, 0xffffffff
ja 0x1000321d
cmp eax, 0x100
jbe 0x10002e89
push eax
lea ecx, [ebp - 0x2118]
call fcn.1000509c
jmp 0x10002e95
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
mov dword [ebp - 4], ebx
jmp 0x10002eb4
mov esi, dword [ebp - 0x2118]
test esi, esi
je 0x10002f6d
lea eax, [ebp - 0x2014]
cmp word [ebp - 0x2014], 0
mov dword [ebp - 0x211c], eax
je 0x10002f18
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
mov eax, dword [ebp - 0x211c]
movzx edx, word [eax]
cmp edx, 0x5c
jne 0x10002f0b
push 0x30
pop eax
cmp word [ecx], ax
mov eax, dword [ebp - 0x211c]
jne 0x10002f0b
xor eax, eax
mov word [esi], ax
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
jmp 0x10002f10
mov word [esi], dx
add eax, edi
add esi, 2
cmp word [eax], bx
jmp 0x10002ed0
xor eax, eax
mov word [esi], ax
mov word [esi + edi], ax
mov esi, dword [ebp - 0x2118]
mov dword [ebp - 0x2120], esi
test esi, esi
jne 0x10002f35
push 0xd
jmp 0x10002f6f
mov edi, ebx
push esi
call fcn.1003d089
pop ecx
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x10002f37
push edi
mov esi, dword [ebp - 0x2120]
push esi
push 7
push ebx
push dword [ebp - 0x2124]
mov eax, dword [ebp - 0x212c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x10002f70
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x100031da
lea ecx, [ebp - 0x2118]
call fcn.10005093
jmp 0x100031da
mov dword [ebp - 0x2138], ebx
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2130]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
jns 0x10002fc6
or dword [ebp - 4], 0xffffffff
jmp 0x10003201
mov eax, dword [ebp - 0x2130]
mov dword [ebp - 0x2120], eax
push 4
pop edi
push edi
lea eax, [ebp - 0x2120]
push eax
push edi
push ebx
push dword [ebp - 0x2124]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
jmp 0x100031da
lea eax, [ebp - 0x2014]
push eax
call fcn.1003d089
pop ecx
mov dword [ebp - 0x2120], eax
test al, 1
je 0x10003019
mov eax, 0x80004005
jmp 0x10003201
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x2130], esi
mov dword [ebp - 0x211c], esi
mov dword [ebp - 0x2118], ebx
push 4
pop edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x2144], esi
mov dword [ebp - 0x2140], ebx
cmp esi, 0x100
jbe 0x1000305e
push esi
lea ecx, [ebp - 0x2118]
call fcn.1000509c
jmp 0x1000306a
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
mov dword [ebp - 4], edi
jmp 0x10003095
cmp dword [ebp - 0x2118], 0
jne 0x100030c4
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x1000300f
lea ecx, [ebp - 0x2118]
call fcn.10005093
jmp 0x1000300f
push esi
push ebx
push dword [ebp - 0x2118]
call fcn.10034380
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x211c], ebx
cmp dword [ebp - 0x2120], 0
jle 0x10003171
mov esi, dword [ebp - 0x2120]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2118]
mov dword [ebp - 0x2120], eax
movzx ecx, word [ebp + ecx*2 - 0x2014]
mov eax, ecx
mov edx, ecx
push 0x30
pop ecx
cmp ax, cx
jb 0x1000313e
cmp eax, 0x39
jbe 0x10003139
cmp eax, 0x40
jbe 0x1000313e
cmp eax, 0x46
jbe 0x10003134
cmp eax, 0x60
jbe 0x1000313e
cmp edx, 0x66
ja 0x1000313e
sub dl, 0x57
jmp 0x10003140
sub dl, 0x37
jmp 0x10003140
sub dl, 0x30
jmp 0x10003140
mov dl, bl
mov eax, dword [ebp - 0x211c]
and eax, 1
shl eax, 2
mov ecx, edi
sub ecx, eax
shl dl, cl
mov eax, dword [ebp - 0x2120]
or byte [eax], dl
mov ecx, dword [ebp - 0x211c]
inc ecx
mov dword [ebp - 0x211c], ecx
cmp ecx, esi
jl 0x100030ef
mov esi, dword [ebp - 0x2130]
push esi
push dword [ebp - 0x2118]
push 3
push ebx
push dword [ebp - 0x2124]
mov eax, dword [ebp - 0x212c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x100031da
lea ecx, [ebp - 0x2118]
call fcn.10005093
jmp 0x100031da
lea eax, [ebp - 0x2014]
push eax
call fcn.1003d089
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x2014]
push eax
push 1
push ebx
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x100031e7
mov ecx, esi
call fcn.10001f9b
jmp 0x10003201
push dword [ebp - 0x213c]
mov ecx, dword [ebp - 0x2128]
call fcn.10002bf2
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov 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.100321d8
leave
ret 0xc
push 0x80070216
call fcn.10001f2d
int3