Function at 0x10039f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103901
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225c
call fcn.10081560
mov eax, dword [0x1014857c]
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 - 0x223c], ecx
xor eax, eax
mov word [ebp - 0x2234], ax
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2268], 0
lea ecx, [ebp - 0x2014]
push ecx
mov ecx, dword [ebp - 0x223c]
call fcn.1003bf40
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x10039f85
mov eax, dword [ebp - 0x2220]
jmp 0x1003a4d0
lea edx, [ebp - 0x2234]
push edx
lea eax, [ebp - 0x2014]
push eax
call fcn.1003ef30
add esp, 8
test eax, eax
jne 0x10039fb4
push 0x20f
mov ecx, dword [ebp - 0x223c]
call fcn.1003b270
jmp 0x1003a4d0
mov ecx, dword [ebp - 0x223c]
call fcn.1003e200
lea ecx, [ebp - 0x2014]
push ecx
mov ecx, dword [ebp - 0x223c]
call fcn.1003bf40
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x10039feb
mov eax, dword [ebp - 0x2220]
jmp 0x1003a4d0
movzx edx, word [ebp - 0x2234]
mov dword [ebp - 0x2238], edx
cmp dword [ebp - 0x2238], 0x13
jg 0x1003a029
cmp dword [ebp - 0x2238], 0x13
je 0x1003a205
cmp dword [ebp - 0x2238], 8
je 0x1003a03a
cmp dword [ebp - 0x2238], 0x11
je 0x1003a2ce
jmp 0x1003a484
cmp dword [ebp - 0x2238], 0x4008
je 0x1003a05a
jmp 0x1003a484
push 1
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1003e0d0
mov dword [ebp - 0x222c], eax
jmp 0x1003a484
lea edx, [ebp - 0x2014]
push edx
call fcn.100ab667
add esp, 4
add eax, 2
mov dword [ebp - 0x2240], eax
lea ecx, [ebp - 0x221c]
call fcn.10038e90
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2240]
push eax
lea ecx, [ebp - 0x221c]
call fcn.1003a520
jmp 0x1003a0a2
mov dword [ebp - 4], 0
jmp 0x1003a0b2
lea ecx, [ebp - 0x221c]
call fcn.10039810
test eax, eax
je 0x1003a1e4
lea ecx, [ebp - 0x221c]
call fcn.10039810
mov dword [ebp - 0x2224], eax
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x2240], 0
mov edx, dword [ebp - 0x2228]
movzx eax, word [edx]
test eax, eax
je 0x1003a19f
mov ecx, dword [ebp - 0x2228]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x2250], eax
mov edx, dword [ebp - 0x2228]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x1003a15b
mov ecx, dword [ebp - 0x2250]
movzx edx, word [ecx]
cmp edx, 0x30
jne 0x1003a15b
xor eax, eax
mov ecx, dword [ebp - 0x2224]
mov word [ecx], ax
mov edx, dword [ebp - 0x2224]
add edx, 2
mov dword [ebp - 0x2224], edx
mov eax, dword [ebp - 0x2250]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x2228], eax
jmp 0x1003a18b
mov ecx, dword [ebp - 0x2224]
mov edx, dword [ebp - 0x2228]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 0x2224]
add ecx, 2
mov dword [ebp - 0x2224], ecx
mov edx, dword [ebp - 0x2228]
add edx, 2
mov dword [ebp - 0x2228], edx
mov eax, dword [ebp - 0x2240]
add eax, 1
mov dword [ebp - 0x2240], eax
jmp 0x1003a0ec
xor ecx, ecx
mov edx, dword [ebp - 0x2224]
mov word [edx], cx
mov eax, dword [ebp - 0x2224]
add eax, 2
mov dword [ebp - 0x2224], eax
xor ecx, ecx
mov edx, dword [ebp - 0x2224]
mov word [edx], cx
lea ecx, [ebp - 0x221c]
call fcn.10039810
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.1003e030
mov dword [ebp - 0x222c], eax
jmp 0x1003a1ee
mov dword [ebp - 0x222c], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x221c]
call fcn.100394a0
jmp 0x1003a484
call fcn.1002a030
mov dword [ebp - 0x226c], eax
lea ecx, [ebp - 0x2244]
call fcn.10038d70
mov dword [ebp - 4], 3
push 0x400
lea ecx, [ebp - 0x2014]
push ecx
call fcn.1003e360
add esp, 8
mov dword [ebp - 0x2258], eax
lea edx, [ebp - 0x2260]
push edx
push 0
push 0
mov eax, dword [ebp - 0x2258]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x1003a28c
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 0x225c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2244]
call fcn.100392e0
mov eax, dword [ebp - 0x225c]
jmp 0x1003a4d0
mov edx, dword [ebp - 0x2260]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.1003e000
mov dword [ebp - 0x222c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2244]
call fcn.100392e0
jmp 0x1003a484
lea ecx, [ebp - 0x2014]
push ecx
call fcn.100ab667
add esp, 4
mov dword [ebp - 0x2248], eax
mov edx, dword [ebp - 0x2248]
and edx, 1
je 0x1003a2f8
mov eax, 0x80004005
jmp 0x1003a4d0
mov eax, dword [ebp - 0x2248]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x224c], eax
lea ecx, [ebp - 0x2118]
call fcn.10038e70
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x224c]
push eax
lea ecx, [ebp - 0x2118]
call fcn.1003a4f0
jmp 0x1003a339
mov dword [ebp - 4], 4
jmp 0x1003a349
lea ecx, [ebp - 0x2118]
call fcn.10039800
test eax, eax
jne 0x1003a37f
mov dword [ebp - 0x2264], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2118]
call fcn.10039480
mov eax, dword [ebp - 0x2264]
jmp 0x1003a4d0
mov ecx, dword [ebp - 0x224c]
push ecx
push 0
lea ecx, [ebp - 0x2118]
call fcn.10039800
push eax
call fcn.1008e2a0
add esp, 0xc
mov dword [ebp - 0x2230], 0
jmp 0x1003a3b7
mov edx, dword [ebp - 0x2230]
add edx, 1
mov dword [ebp - 0x2230], edx
mov eax, dword [ebp - 0x2230]
cmp eax, dword [ebp - 0x2248]
jge 0x1003a42e
mov eax, dword [ebp - 0x2230]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea ecx, [ebp - 0x2118]
call fcn.10039800
add eax, esi
mov dword [ebp - 0x2254], eax
mov ecx, dword [ebp - 0x2230]
and ecx, 1
mov esi, 1
sub esi, ecx
shl esi, 2
mov edx, dword [ebp - 0x2230]
movzx eax, word [ebp + edx*2 - 0x2014]
push eax
call fcn.1003aa90
add esp, 4
movzx edx, al
mov ecx, esi
shl edx, cl
mov eax, dword [ebp - 0x2254]
movzx ecx, byte [eax]
or ecx, edx
mov edx, dword [ebp - 0x2254]
mov byte [edx], cl
jmp 0x1003a3a8
mov eax, dword [ebp - 0x224c]
push eax
lea ecx, [ebp - 0x2118]
call fcn.10039800
push eax
push 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10039830
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x222c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2118]
call fcn.10039480
jmp 0x1003a484
cmp dword [ebp - 0x222c], 0
je 0x1003a4a8
mov dword [ebp - 0x2268], 0x204
mov edx, dword [ebp - 0x222c]
push edx
call fcn.1003a980
add esp, 4
jmp 0x1003a4d0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x223c]
call fcn.1003bf40
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x1003a4ce
mov eax, dword [ebp - 0x2220]
jmp 0x1003a4d0
xor eax, eax
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.100810f8
mov esp, ebp
pop ebp
ret 0xc