Function at 0x1000cfc0
Capabilities:
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100348d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
push esi
push edi
jmp 0x1000cff3
call fcn.1000cf90
mov edx, eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
lea edi, [ebp - 0x273]
movsx ecx, byte [eax + 0xa]
add edx, ecx
mov ecx, 0x3f
xor eax, eax
mov byte [ebp - 0x274], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x274]
push 0x10
push eax
push edx
call fcn.100186a8
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x274]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x673]
mov byte [ebp - 0x674], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x38]
stosw word es:[edi], ax
lea edx, [ebp - 0x674]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push edx
push eax
push ebx
push 0x10044068
push ecx
mov dword [ebp - 0x38], 0xff
call esi
cmp eax, ebx
jne 0x1000d0ea
mov edx, dword [ebp - 0x10]
push 2
push 0x10044064
push 1
push ebx
push 0x10044068
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 0x10
push 0x10044048
call fcn.1002fece
cmp dword [0x10048f4c], 1
jne 0x1000d0c9
mov ecx, 0x10048c20
call fcn.10005410
mov ecx, 0x10048c20
call fcn.100055e0
push ebx
push 0xffffffffffffffff
call dword [0x10048c3c]
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x473]
mov byte [ebp - 0x474], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x373]
mov byte [ebp - 0x374], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x474]
push eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
push ecx
push edx
push ebx
push 0x10043ff8
push eax
mov dword [ebp - 0x20], 0xff
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x374]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push edx
push eax
push ebx
push 0x10043ff4
push ecx
call esi
lea edx, [ebp - 0x474]
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.10008880
lea ecx, [ebp - 0x374]
lea edx, [ebp - 0x14]
push ecx
push edx
mov dword [ebp - 4], ebx
call fcn.10008880
add esp, 0x10
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x573]
mov byte [ebp - 0x574], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xff
stosw word es:[edi], ax
lea eax, [ebp - 0x574]
mov byte [ebp - 4], 1
push eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 1
lea ecx, [ebp - 0x574]
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000d1e9
push ebx
push ebx
push str.Create_Fail2
call fcn.1002fece
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea edx, [ebp - 0x58]
push ebx
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x58]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x24]
call fcn.1002810c
mov ecx, dword [ebp - 0x18]
push 0x400
push ebx
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], ebx
call fcn.100128e9
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x50]
push edx
call fcn.10012854
lea eax, [ebp - 0x74]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x28]
call fcn.100280c0
mov ecx, dword [ebp - 0x14]
push 0x400
push ebx
push ecx
lea ecx, [ebp - 0x64]
call fcn.100128e9
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x64]
push edx
call fcn.10012854
lea eax, [ebp - 0x74]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x30]
call fcn.100280c0
push ecx
mov ecx, dword [ebp - 0x30]
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax], ecx
lea ecx, [ebp - 0x28]
call fcn.1000d5d0
cmp eax, ebx
je 0x1000d31e
mov edx, dword [ebp - 0x10]
push 2
push 0x10044064
push 1
push ebx
push 0x10044068
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 0x10
push 0x10044048
call fcn.1002fece
cmp dword [0x10048f4c], 1
jne 0x1000d2dc
mov ecx, 0x10048c20
call fcn.10005410
mov ecx, 0x10048c20
call fcn.100055e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0xffffffffffffffff
call dword [0x10048c3c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1002c896
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.1002c896
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
mov ecx, dword [ebp - 0x24]
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax], ecx
lea ecx, [ebp - 0x30]
call fcn.1000d5d0
cmp eax, ebx
je 0x1000d3be
mov edx, dword [ebp - 0x10]
push 2
push 0x10044064
push 1
push ebx
push 0x10044068
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 0x10
push 0x10044048
call fcn.1002fece
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x10048f4c], 1
jne 0x1000d383
mov ecx, 0x10048c20
call fcn.10005410
mov ecx, 0x10048c20
call fcn.100055e0
push ebx
push 0xffffffffffffffff
call dword [0x10048c3c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1002c896
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.1002c896
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
mov ecx, dword [ebp - 0x28]
mov eax, esp
mov dword [ebp + 8], esp
lea edx, [ebp + 8]
mov dword [eax], ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.1000d5b0
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0xc]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, byte [ecx + 5]
cmp edx, eax
jle 0x1000d47e
mov ecx, dword [ebp - 0x10]
push 2
push 0x10044064
push 1
push ebx
push 0x10044068
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 0x10
push 0x10044048
call fcn.1002fece
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x10048f4c], 1
jne 0x1000d443
mov ecx, 0x10048c20
call fcn.10005410
mov ecx, 0x10048c20
call fcn.100055e0
push ebx
push 0xffffffffffffffff
call dword [0x10048c3c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1002c896
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.1002c896
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x173]
mov byte [ebp - 0x174], bl
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x174]
push 0xff
push edx
push ebx
stosw word es:[edi], ax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x174]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000d4e2
push ebx
push ebx
push str.Create_Fail3
call fcn.1002fece
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x44]
push ebx
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [ebp - 0x44]
push 0xffffffffffffffff
push edx
lea ecx, [ebp - 0x3c]
call fcn.1002810c
lea eax, [ebp - 0x34]
push str._Y__m__d__H:_M:_S
push eax
lea ecx, [ebp - 0x3c]
call fcn.10028158
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x1c]
push ecx
push edx
mov byte [ebp - 4], 2
call fcn.10008560
add esp, 8
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov eax, dword [eax - 8]
push eax
push eax
call fcn.1002cb5b
mov ecx, dword [ebp - 0x10]
push eax
push 1
push ebx
push 0x10043ff4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000d560
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1002c896
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1002c896
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1002c896
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.1002c896
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8