Function at 0x1000b108
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003d822
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1004d330]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x1004d330]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, ecx
lea edi, [eax + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call fcn.1000ba24
push esi
mov edx, str.params
call fcn.1001b690
push eax
lea ebx, [esp + 0xb0]
call fcn.1001a624
xor edi, edi
push str.illegal_procs
lea ecx, [esp + 0xcc]
mov dword [esp + 0x14c], edi
call fcn.10003809
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
mov byte [esp + 0x150], 1
call fcn.1000af37
pop ecx
pop ecx
push edi
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x150], 3
call fcn.10003fff
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x34]
jbe 0x1000b1d3
call fcn.10025982
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], eax
jbe 0x1000b1f2
call fcn.10025982
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1000b208
cmp eax, dword [esp + 0x3c]
je 0x1000b20d
call fcn.10025982
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], eax
je 0x1000b28a
lea esi, [esp + 0x14]
call fcn.10007137
push eax
lea ecx, [esp + 0x78]
call fcn.100012c1
pop ecx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x14c], 4
call fcn.1000a9ca
pop ecx
mov ebx, dword [esp + 0x1c]
push eax
mov byte [esp + 0x14c], 5
call fcn.1000b940
push edi
push 1
lea esi, [esp + 0x98]
mov dword [eax], 2
call fcn.100041a3
push edi
push 1
lea esi, [esp + 0x7c]
mov byte [esp + 0x150], 3
call fcn.100041a3
lea esi, [esp + 0x14]
call fcn.1000b915
jmp 0x1000b1fa
lea eax, [esp + 0xac]
push eax
mov edx, str.procs
call fcn.1001b6f3
push eax
lea ebx, [esp + 0x48]
call fcn.1001a624
mov byte [esp + 0x148], 6
cmp byte [esp + 0x4c], 6
jne 0x1000b435
mov eax, ebx
mov dword [esp + 0x10], edi
call fcn.1001b177
test eax, eax
jbe 0x1000b435
push dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
call fcn.1001b1c7
push eax
lea ebx, [esp + 0x60]
call fcn.1001a624
mov byte [esp + 0x148], 7
cmp byte [esp + 0x64], 7
jne 0x1000b40d
push str.procName
lea ecx, [esp + 0x78]
call fcn.10003809
sub esp, 0x1c
mov byte [esp + 0x164], 8
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x10041983
call fcn.10003809
lea eax, [esp + 0x90]
mov esi, ebx
push eax
lea ebx, [esp + 0x120]
call fcn.1000153b
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x16c], 9
call fcn.100012c1
add esp, 0x24
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x14c], 0xa
call fcn.1000a9ca
pop ecx
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [esp + 0xec]
call fcn.100041a3
push edi
push ebx
lea ecx, [esp + 0x108]
call fcn.10003fff
push edi
push ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x150], 0xe
call fcn.10003fff
push str.runMode
lea ecx, [esp + 0x94]
call fcn.10003809
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x60]
mov byte [esp + 0x14c], 0xf
call fcn.10001504
pop ecx
push edi
push ebx
lea ecx, [esp + 0x98]
mov esi, eax
mov byte [esp + 0x150], 0xe
call fcn.10003fff
cmp dword [esp + 0x130], edi
je 0x1000b3fe
cmp esi, 2
je 0x1000b3eb
cmp esi, ebx
jne 0x1000b3fe
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x11c]
push eax
call fcn.1000b940
mov dword [eax], esi
push edi
push 1
lea esi, [esp + 0x124]
call fcn.100041a3
lea esi, [esp + 0x5c]
mov byte [esp + 0x148], 6
call fcn.1001a7b8
inc dword [esp + 0x10]
lea eax, [esp + 0x44]
call fcn.1001b177
cmp dword [esp + 0x10], eax
jb 0x1000b2cc
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x44]
mov byte [eax + 4], 1
mov byte [esp + 0x148], 3
call fcn.1001a7b8
lea esi, [esp + 0x24]
call fcn.1000baf7
push dword [esp + 0x24]
call fcn.100251f0
or dword [esp + 0x14c], 0xffffffff
pop ecx
lea esi, [esp + 0xac]
call fcn.1001a7b8
mov al, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100251b7
mov esp, ebp
pop ebp
ret 4