Function at 0x10012b40
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100546a2
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x10072f40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 0x20], eax
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebx], vtable.DetectManager.0
mov dword [ebp - 0x18], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 7
lea esi, [ebx + 0x38]
mov dword [ebp - 0x1c], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [ebx + 0x40]
mov dword [ebp - 0x20], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0x48]
mov dword [ebp - 0x24], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 0xd
lea eax, [ebx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 0xf
lea esi, [ebx + 0x98]
mov dword [ebp - 0x2c], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea edi, [ebx + 0xa0]
mov dword [ebp - 0x30], edi
push 0x2c
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov byte [ebp - 4], 0x13
lea esi, [ebx + 0xa8]
mov dword [ebp - 0x34], esi
push 0x58
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x15
lea esi, [ebx + 0xb0]
mov dword [ebp - 0x38], esi
push 0x1c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea esi, [ebx + 0xb8]
mov dword [ebp - 0x3c], esi
push 0x1c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x19
lea esi, [ebx + 0xc0]
mov dword [ebp - 0x40], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x1b
lea esi, [ebx + 0xc8]
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x14
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x1d
lea esi, [ebx + 0xd0]
mov dword [ebp - 0x48], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x1f
lea esi, [ebx + 0xd8]
mov dword [ebp - 0x4c], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x21
lea esi, [ebx + 0xe0]
mov dword [ebp - 0x50], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
add esp, 0x34
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x23
lea ecx, [ebx + 0xe8]
call fcn.100125d0
mov byte [ebp - 4], 0x24
lea esi, [ebx + 0x108]
mov dword [ebp - 0x54], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x26
lea esi, [ebx + 0x110]
mov dword [ebp - 0x58], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x28
lea ecx, [ebx + 0x118]
call fcn.100125d0
mov byte [ebp - 4], 0x29
lea ecx, [ebx + 0x138]
call fcn.10012730
mov byte [ebp - 4], 0x2a
lea ecx, [ebx + 0x158]
call fcn.10012730
mov byte [ebp - 4], 0x2b
lea ecx, [ebx + 0x178]
call fcn.10012680
mov byte [ebp - 4], 0x2c
mov dword [ebx + 0x198], 0
mov dword [ebx + 0x19c], 0
mov dword [ebx + 0x1a0], 0
mov byte [ebp - 4], 0x2d
lea eax, [ebx + 0x1a4]
push 2
push eax
mov dword [ebp - 0x5c], eax
call sub.MSVCP140.dll__Mtx_init_in_situ
add esp, 8
mov byte [ebp - 4], 0x2f
lea ecx, [ebx + 0x1d4]
call fcn.100127e0
mov byte [ebp - 4], 0x30
lea esi, [ebx + 0x1f4]
mov dword [ebp - 0x60], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005021f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0x32
mov dword [ebx + 0x1fc], 0
push 0x10
mov dword [ebx + 0x200], 0
mov dword [ebx + 0x204], 0
call fcn.1005021f
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0x200], eax
mov byte [ebp - 4], 0x33
lea ecx, [ebx + 0x210]
call fcn.1004d830
mov byte [ebp - 4], 0x34
mov dword [ebx + 0x248], 0
mov dword [ebx + 0x24c], 0
mov byte [ebp - 4], 0x35
mov dword [ebx + 0x250], 0
mov dword [ebx + 0x254], 0
mov byte [ebp - 4], 0x36
mov dword [ebx + 0x258], 0
mov dword [ebx + 0x25c], 0
mov byte [ebp - 4], 0x37
mov dword [ebx + 0x260], 0
mov dword [ebx + 0x264], 0
mov byte [ebp - 4], 0x38
lea eax, [ebx + 0x26c]
push eax
mov byte [ebx + 0x268], 0
call sub.MSVCP140.dll__Cnd_init_in_situ
mov byte [ebp - 4], 0x39
lea eax, [ebx + 0x294]
push 2
push eax
mov dword [ebp - 0x64], eax
call sub.MSVCP140.dll__Mtx_init_in_situ
mov byte [ebp - 4], 0x3b
lea eax, [ebx + 0x2c4]
push 2
push eax
mov dword [ebp - 0x68], eax
call sub.MSVCP140.dll__Mtx_init_in_situ
mov byte [ebp - 4], 0x3d
lea eax, [ebx + 0x2f4]
push 2
push eax
mov dword [ebp - 0x6c], eax
call sub.MSVCP140.dll__Mtx_init_in_situ
mov byte [ebp - 4], 0x3f
lea eax, [ebx + 0x324]
push eax
call sub.MSVCP140.dll__Cnd_init_in_situ
add esp, 0x20
mov byte [ebp - 4], 0x40
lea ecx, [ebx + 0x210]
mov eax, dword [ebx + 0x210]
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.Detect_Manager_ManualTrigger_starting
call fcn.100114f0
mov byte [ebp - 4], 0x41
mov eax, dword [ebx + 0x210]
mov byte [ebp - 4], 0x40
lea ecx, [ebx + 0x210]
call dword [eax + 8]
mov dword [ebx + 0x24], 0
mov ecx, edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x208], 0
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.1000aec0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
lea esi, [ebx + 0x48]
mov dword [edi + 4], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10013112
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov ecx, dword [ebx + 0x94]
lea esi, [ebx + 0x70]
test ecx, ecx
je 0x10013134
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
or esi, 0xffffffff
mov dword [0x100742dc], ebx
cmp dword [ebp + 0xc], 0
je 0x10013159
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebx + 0x250]
call fcn.10018340
mov al, 1
jmp 0x1001324a
lea eax, [ebp - 0x70]
push eax
call fcn.1000e770
add esp, 4
mov byte [ebp - 4], 0x42
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], edx
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x43
mov eax, dword [ebx + 0x250]
mov edi, dword [ebx + 0x254]
mov dword [ebp - 0x78], eax
mov dword [ebx + 0x250], ecx
mov dword [ebp - 0x74], edi
mov dword [ebx + 0x254], edx
mov byte [ebp - 4], 0x42
test edi, edi
je 0x100131d8
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100131d8
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100131d8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x40
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x10013202
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10013202
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10013202
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x78]
push eax
call fcn.1000e6b0
add esp, 4
mov byte [ebp - 4], 0x44
lea ecx, [ebx + 0x248]
push eax
call fcn.10018290
mov byte [ebp - 4], 0x40
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x10013248
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10013248
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10013248
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor al, al
mov byte [ebx + 0x268], al
cmp dword [ebp + 8], 1
jne 0x1001349e
push str.RzKitty:_DetectManager___Manual_Trigger
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebx + 0x98]
mov dword [ebx + 0x208], 1
call fcn.10033600
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.GetProductListFromXML
call fcn.100114f0
mov byte [ebp - 4], 0x45
lea edi, [ebx + 0x210]
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10025480
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.GetUSBProductList
call fcn.100114f0
mov byte [ebp - 4], 0x46
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10026440
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.GetSystemProductList
call fcn.100114f0
mov byte [ebp - 4], 0x47
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10025fe0
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.GetAllSystemsList
call fcn.100114f0
mov byte [ebp - 4], 0x48
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10021210
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.GetSupportExceptionEIDProductList
call fcn.100114f0
mov byte [ebp - 4], 0x49
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10025d70
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.GetMonitorProductList
call fcn.100114f0
mov byte [ebp - 4], 0x4a
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10025280
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.GetUnknownProductList
call fcn.100114f0
mov byte [ebp - 4], 0x4b
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.100264e0
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.GetProtocolDummyProductList
call fcn.100114f0
mov byte [ebp - 4], 0x4c
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.100256a0
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.GetCmdSteeringProductList
call fcn.100114f0
mov byte [ebp - 4], 0x4d
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10021830
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.GetAudioBTLEAudioProductList
call fcn.100114f0
mov byte [ebp - 4], 0x4e
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.100214d0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.GetAudioBTLECommandProductList
call fcn.100114f0
mov byte [ebp - 4], 0x4f
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10021680
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.Get3rdPartyHidProductList
call fcn.100114f0
mov byte [ebp - 4], 0x50
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.100211c0
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.GetDockEIDProductList
call fcn.100114f0
mov byte [ebp - 4], 0x51
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10024b10
lea ecx, [ebx + 0x30]
call fcn.100336b0
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.EnumerateRazerDevices
call fcn.100114f0
mov byte [ebp - 4], 0x52
mov eax, dword [edi]
mov byte [ebp - 4], 0x40
mov ecx, edi
call dword [eax + 8]
mov ecx, ebx
call fcn.10020580
jmp 0x100134b6
push str.RzKitty:_DetectManager___Messaging
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp + 0xc], 0
jne 0x100134b6
mov ecx, ebx
call fcn.1001a0a0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x100134e2
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100134e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100134e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc