Function at 0x100e4e80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10124f88
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movdqu xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x34], ax
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x3a], eax
mov word [ebp - 0x36], ax
mov dword [ebp - 0x20], eax
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100e4ef4
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x10173398
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x1013a6ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100e4f41
push eax
push str.Fatal
push str.ntdll.dll_not_found_
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.Registry_CurrentUser_SoftwareVOS_s
lea ecx, [ebp - 0x10]
call fcn.10023fc0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1002ebe0
push dword [0x1017507c]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x10]
push eax
call fcn.10044f30
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.100244b0
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100e4f9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.PendingChanges
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10044c80
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.100244b0
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e5016
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 4], 1
jle 0x100e502d
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.10024570
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x30], esi
mov eax, dword [esi - 0xc]
add eax, eax
mov dword [ebp - 0x54], 0x18
mov word [ebp - 0x32], ax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x10173370]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
test eax, eax
jne 0x100e5082
push 0x10154144
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10173370], eax
lea ecx, [ebp - 0x54]
push ecx
push 0xf003f
push 0x10172214
call eax
push dword [esi - 8]
push esi
call fcn.1010374b
add esp, 8
test eax, eax
js 0x100e5595
cmp eax, dword [esi - 8]
jg 0x100e5595
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [0x10172218], ecx
je 0x100e51c6
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1012ec60
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
mov edi, dword [0x10172218]
push str.AppRegKey
call fcn.10023fc0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.100e4c50
add esp, 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Registry
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
mov edi, dword [0x10172218]
push str.AppRegKeyRegistry
call fcn.10023fc0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.100e4c50
add esp, 8
cmp dword [0x10172214], 0
je 0x100e5475
push ecx
mov eax, esp
push str._VirtReg_Init:_need_to_import_registry_back_from_HKCUTmpReg____RegAppKey
push eax
call fcn.10044f30
add esp, 8
call fcn.100e4280
add esp, 4
call fcn.100e4820
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1012ec60
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 8
mov edi, dword [0x10172218]
push str.AppRegKey
call fcn.10023fc0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.100e4c50
add esp, 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Registry
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 9
mov edi, dword [0x10172218]
push str.AppRegKeyRegistry
call fcn.10023fc0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.100e4c50
add esp, 8
jmp 0x100e5475
cmp dword [0x1017221c], ecx
je 0x100e5248
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.PendingChanges
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0xb
mov edi, esp
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [edi], eax
mov byte [ebp - 4], 1
call fcn.10044c80
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call fcn.100244b0
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e5248
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x100e525f
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10024570
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [eax - 0xc]
add eax, eax
mov dword [ebp - 0x54], 0x18
mov word [ebp - 0x32], ax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x10173374]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
test eax, eax
jne 0x100e52b4
push 0x101541dc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10173374], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0xf003f
push 0x10172218
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push dword [ecx - 8]
push ecx
call fcn.1010374b
mov edx, eax
add esp, 8
test edx, edx
js 0x100e5595
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x100e5595
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x1c]
push ecx
test ecx, ecx
je 0x100e53c5
mov eax, esp
push ecx
push str.VirtReg_Init:_failed_opening_virtual_key__0x_x_
push eax
call fcn.10044f30
add esp, 0xc
call fcn.100e4280
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 0xc0000022
jne 0x100e5380
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e534f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x100e536d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x1c]
push str.VirtReg_Init:_failed_opening_virtual_key__0x_x_
push eax
call fcn.10044f30
add esp, 0xc
push 0
push str.Fatal
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x100e53bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1012ec60
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xd
mov edi, dword [0x10172218]
push str.HkcuKey
call fcn.10023fc0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.100e4c50
add esp, 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Registry
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xe
mov edi, dword [0x10172218]
push str.HkcuKeyRegistry
call fcn.10023fc0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.100e4c50
add esp, 8
cmp dword [0x1017221c], 0
je 0x100e5475
cmp dword [0x10172214], 0
push ecx
mov eax, esp
jne 0x100e545f
push str.VirtReg_Init:_need_to_export_RegAppKey____HKCUTmpReg
push eax
call fcn.10044f30
add esp, 8
call fcn.100e4280
add esp, 4
call fcn.100e4390
jmp 0x100e5475
push str.VirtReg_Init:_no_need_to_do_ExportRegAppKeyToHkcu__as_TmpReg_already_exists
push eax
call fcn.10044f30
add esp, 8
call fcn.100e4280
add esp, 4
mov ecx, dword [0x10172218]
test ecx, ecx
je 0x100e54bb
lea edx, [ebp - 0x14]
call fcn.100f8380
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x100e54bb
push esi
call fcn.10104bb4
mov dword [0x10172290], eax
mov ecx, dword [esi - 0xc]
mov dword [0x10172224], ecx
mov ecx, esp
push eax
push str.VirtReg_Init_Modern_:_g_VirtKeyKernelName_s
push ecx
call fcn.10044f30
add esp, 0xc
call fcn.100e4280
add esp, 4
push 2
push 0x514
call fcn.101054ea
mov edi, eax
add esp, 8
xor eax, eax
mov word [0x10172948], ax
mov eax, dword [0x10173394]
test eax, eax
jne 0x100e54f0
push 0x1015449c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10173394], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x38], str.DbgEnumBreakPoint
push ecx
push 0xa28
push edi
push 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x220022
push ecx
push dword [0x10172218]
mov dword [ebp - 0x20], 0
call eax
push dword [edi + 0xc]
mov eax, dword [edi + 8]
add eax, edi
push eax
push 0x514
push 0x10172948
call fcn.1010500a
push edi
call fcn.10103713
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
add esp, 0x14
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e5561
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x100e557f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100223c0
int3