Function at 0x100e084
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xe8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push edi
push 5
push dword [0x1014a10]
xor ebx, ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call esi
mov edi, eax
cmp edi, ebx
je 0x100e0fe
push 4
push edi
call esi
test eax, eax
jne 0x100e0d8
push ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp dword [ebp + 0x7c], ebx
mov dword [ebp + 0x60], eax
je 0x100e0d0
cmp dword [eax + 0x1c], ebx
jne 0x100e0d5
jmp 0x100e0d8
cmp dword [eax + 0x1c], ebx
jne 0x100e0d8
inc dword [ebp + 0x6c]
push 2
push edi
call esi
mov edi, eax
cmp edi, ebx
jne 0x100e0b0
cmp word [ebp + 0x6c], 0x28
jb 0x100e0fe
jmp 0x103c351
cmp dword [ebp + 0x7c], ebx
je 0x100e13d
mov eax, dword [0x10149e0]
cmp eax, ebx
mov ecx, dword [0x10149e8]
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x5c], ecx
jne 0x100e165
push 0x2031
push dword [ebp + 0x78]
push 0xaa
push 0xa9
push dword [0x1014a0c]
call fcn.01002402
cmp eax, 1
jne 0x100e15e
mov dword [ebp + 0x7c], ebx
mov eax, dword [0x10149d8]
mov dword [ebp + 0x6c], eax
cmp dword [ebp + 0x6c], ebx
mov eax, dword [0x10149e4]
mov dword [ebp + 0x5c], eax
jne 0x100e165
mov dword [ebp + 0x68], 0x49
jmp 0x100e208
xor eax, eax
jmp 0x100e274
push dword [ebp + 0x78]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x78]
push eax
call fcn.0100c4cf
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0x20019
jmp 0x100e1cb
push dword [ebp + 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.0100c3b3
test eax, eax
je 0x100e210
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x100e210
push 0x1001afc
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 0x60]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x64]
push eax
push edi
push ebx
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 0x6c]
call esi
test eax, eax
je 0x100e188
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 5]
and edi, 0xfffffffc
add edi, 0x7c
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 0x60], eax
jne 0x100e27e
mov dword [ebp + 0x68], 0x4a
mov eax, dword [ebp + 0x68]
jmp 0x100e383
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x7c]
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [0x10149b4], ebx
mov dword [0x10149b8], ebx
call fcn.0100ce8c
cmp dword [0x10149b8], ebx
mov esi, eax
je 0x100e254
push 0x1010
push ebx
push 0x94
push 0x6e
push dword [0x1014a0c]
jmp 0x103b7d3
cmp dword [ebp + 0x7c], ebx
jne 0x100e25e
jmp 0x103b4cc
mov ebx, esi
push dword [ebp + 0x7c]
call fcn.01010c82
mov dword [0x101494c], 1
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push ebx
mov dword [esi], 0x43554d50
mov dword [esi + 4], edi
mov word [esi + 0x22], bx
mov dword [esi + 0x24], 0x7c
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xe
push eax
mov dword [ebp + 0x58], eax
call edi
push 0xc
push dword [ebp + 0x58]
shl eax, 8
mov dword [ebp + 0x54], eax
call edi
push dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
add ecx, eax
push ebx
mov word [esi + 0x2c], cx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xb
call edi
push 0xc
mov word [esi + 0x28], ax
call edi
or word [esi + 0x32], 0xffff
or dword [esi + 0x34], 0xffffffff
push 0x10
pop ecx
push dword [ebp + 0x78]
mov word [esi + 0x2a], ax
xor eax, eax
mov word [esi + 0x30], cx
lea edi, [esi + 0x38]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call fcn.0100bc9b
push ebx
mov edi, eax
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x5c]
lea eax, [ebp - 0x78]
jmp 0x103dbf0
push 0x2030
push dword [ebp + 0x78]
push eax
push 0x4d
push dword [0x1014a0c]
call fcn.01002402
jmp 0x103c9d5