Function at 0x1000d140
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100661a5
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1007c060]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007c060]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
mov ebp, dword [esp + 0x118]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
and dword [esp + 0x74], 0xfffffe00
mov dword [esp + 0x94], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
push 7
mov edi, 1
mov dword [esp + 0x114], edi
mov esi, 0xf
push str.DlpApps
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10004c30
mov byte [esp + 0x110], 2
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], edi
push edx
lea edi, [esp + 0x70]
mov ecx, ebp
call fcn.1000c740
add esp, 4
test al, al
je 0x1000d20f
cmp byte [esp + 0x74], 6
mov byte [esp + 0x1b], bl
je 0x1000d214
mov byte [esp + 0x1b], 1
mov dword [esp + 0x110], 1
cmp dword [esp + 0x3c], 0x10
jb 0x1000d233
mov eax, dword [esp + 0x28]
push eax
call fcn.1004a7e9
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x1000d261
push str.get_DlpApps_rule_failed
call fcn.10024175
add esp, 4
lea esi, [esp + 0x6c]
mov dword [esp + 0x110], 0xffffffff
call fcn.1003ac21
xor eax, eax
jmp 0x1000d89e
movsx eax, byte [esp + 0x74]
cmp eax, 7
ja case.0x1000d26b.0
jmp dword [eax*4 + 0x1000d8c8]
mov edi, dword [esp + 0x6c]
cmp dword [edi + 0x1c], ebx
je case.0x1000d26b.0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi]
lea esi, [esp + 0x64]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
call fcn.1003dce8
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x1000d2b9
call fcn.1004a7af
xor eax, eax
mov esi, dword [esp + 0x68]
cmp esi, dword [eax + 0x18]
jne 0x1000d2ae
call fcn.1004a7af
mov eax, dword [esi + 0x14]
inc eax
mov esi, 0xf
jmp 0x1000d2c4
mov eax, dword [eax]
jmp 0x1000d2a0
mov edi, dword [esp + 0x6c]
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x1000d2d7
push str.DlpApps_in_rule_empty_
call fcn.10024017
jmp 0x1000d243
push 0xa
push 0x1006ad48
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10004c30
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
mov byte [esp + 0x114], 3
push edx
mov ecx, ebp
mov dword [esp + 0x28], ebx
call fcn.1000c650
add esp, 8
test al, al
je 0x1000d321
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x1000d329
mov dword [esp + 0x20], 0xffffffff
mov byte [esp + 0x110], 1
cmp dword [esp + 0x3c], 0x10
jb 0x1000d345
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1004a7e9
add esp, 4
cmp dword [esp + 0x20], 0xffffffff
jne 0x1000d356
push str.get_default_crypto_mode_failed
jmp 0x1000d23e
push 0xd
push str.ClipboardMode
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10004c30
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
mov byte [esp + 0x114], 4
push eax
mov ecx, ebp
mov dword [esp + 0x24], ebx
call fcn.1000c650
movzx eax, al
add esp, 8
neg eax
sbb eax, eax
and eax, dword [esp + 0x1c]
mov byte [esp + 0x110], 1
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x90], eax
jb 0x1000d3c0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1004a7e9
add esp, 4
push 0xc
push str.DragDropMode
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10004c30
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
mov byte [esp + 0x114], 5
push eax
mov ecx, ebp
mov dword [esp + 0x24], ebx
call fcn.1000c650
movzx eax, al
add esp, 8
neg eax
sbb eax, eax
and eax, dword [esp + 0x1c]
mov byte [esp + 0x110], 1
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x1c], eax
jb 0x1000d427
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1004a7e9
add esp, 4
xor ebp, ebp
lea esp, [esp]
movsx eax, byte [esp + 0x74]
cmp eax, 7
ja case.0x1000d43e.0
jmp dword [eax*4 + 0x1000d8e8]
cmp dword [edi + 0x1c], ebx
je case.0x1000d43e.0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi]
lea esi, [esp + 0x84]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
call fcn.1003dce8
mov eax, dword [esp + 0x84]
cmp eax, ebx
jne 0x1000d47f
call fcn.1004a7af
jmp 0x1000d481
mov ebx, dword [eax]
mov esi, dword [esp + 0x88]
cmp esi, dword [ebx + 0x18]
jne 0x1000d492
call fcn.1004a7af
mov eax, dword [esi + 0x14]
lea edi, [eax + 1]
mov esi, 0xf
jmp 0x1000d4a2
mov edi, dword [edi + 0x1c]
cmp ebp, edi
jae case.0x1000d43e.0
push ebp
lea edx, [esp + 0x70]
push edx
call fcn.1003b630
push eax
lea ebx, [esp + 0x28]
call fcn.1003aa8d
xor ebx, ebx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
mov byte [esp + 0x110], 7
mov al, byte [esp + 0x2c]
cmp al, 4
jne 0x1000d554
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x9c]
call fcn.1003ae0f
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x11c], 8
call fcn.10003c80
mov byte [esp + 0x110], 7
cmp dword [esp + 0xb0], 0x10
jb 0x1000d531
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.1004a7e9
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, 1
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
jmp 0x1000d76b
cmp al, 7
jne 0x1000d84e
push 7
push str.appName
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.10004c30
sub esp, 0x1c
mov byte [esp + 0x12c], 9
mov ecx, esp
mov dword [esp + 0x80], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x1006a9de
mov byte [ecx + 4], bl
call fcn.10004c30
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x68]
lea edi, [esp + 0x44]
call fcn.1000b860
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x11c], 0xa
call fcn.10003c80
mov edi, 0x10
cmp dword [esp + 0xb0], edi
jb 0x1000d5ee
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.1004a7e9
add esp, 4
mov byte [esp + 0x110], 7
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x60], edi
jb 0x1000d61e
mov edx, dword [esp + 0x4c]
push edx
call fcn.1004a7e9
add esp, 4
push 0xa
push str.cryptoMode
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.10004c30
push ebx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x11c], 0xb
call fcn.1000b6f0
add esp, 0xc
mov byte [esp + 0x110], 7
mov dword [esp + 0xf8], eax
cmp dword [esp + 0x60], edi
jb 0x1000d677
mov edx, dword [esp + 0x4c]
push edx
call fcn.1004a7e9
add esp, 4
cmp dword [esp + 0xf8], 0x64
jne 0x1000d68c
mov eax, dword [esp + 0x20]
mov dword [esp + 0xf8], eax
push 9
push str.clipboard
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.10004c30
push ebx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x11c], 0xc
call fcn.1000b6f0
add esp, 0xc
mov byte [esp + 0x110], 7
mov dword [esp + 0xfc], eax
cmp dword [esp + 0x60], edi
jb 0x1000d6e5
mov eax, dword [esp + 0x4c]
push eax
call fcn.1004a7e9
add esp, 4
cmp dword [esp + 0xfc], 2
jne 0x1000d6fd
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xfc], ecx
push 4
push str.drag
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.10004c30
push ebx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x11c], 0xd
call fcn.1000b6f0
add esp, 0xc
mov byte [esp + 0x110], 7
mov dword [esp + 0x100], eax
cmp dword [esp + 0x60], edi
jb 0x1000d756
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.1004a7e9
add esp, 4
cmp dword [esp + 0x100], 2
jne 0x1000d76b
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x100], edx
cmp dword [esp + 0xf0], ebx
je 0x1000d834
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0xdc]
push eax
push ecx
lea ebx, [esp + 0xd8]
call fcn.10002ed0
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.10001430
add esp, 8
mov ecx, dword [esp + 0x94]
push eax
push ecx
mov byte [esp + 0x118], 0xe
call fcn.10012bc0
push 0xffffffffffffffff
mov esi, eax
push 0
lea edx, [esp + 0xe4]
push edx
mov ecx, esi
call fcn.10003c80
mov eax, dword [esp + 0xf8]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0xfc]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x100]
mov dword [esi + 0x24], edx
cmp dword [esp + 0xcc], 8
jb 0x1000d80f
mov eax, dword [esp + 0xb8]
push eax
call fcn.1004a7e9
add esp, 4
xor ecx, ecx
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], cx
xor ebx, ebx
lea esi, [ecx + 0xf]
cmp dword [esp + 0xf4], 0x10
jb 0x1000d84e
mov edx, dword [esp + 0xe0]
push edx
call fcn.1004a7e9
add esp, 4
mov dword [esp + 0xf4], esi
lea esi, [esp + 0x24]
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
mov byte [esp + 0x110], 1
call fcn.1003ac21
mov edi, dword [esp + 0x6c]
inc ebp
xor ebx, ebx
lea esi, [ebx + 0xf]
jmp 0x1000d430
lea esi, [esp + 0x6c]
mov edi, 1
mov dword [esp + 0x110], 0xffffffff
call fcn.1003ac21
mov eax, edi
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.1004a172
add esp, 0x100
ret