Function at 0x100108c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1005def9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10071430]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd0]
mov ebp, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x48]
mov esi, edx
mov edx, dword [ebp]
mov edx, dword [edx + 0x30]
push eax
xor ebx, ebx
push ecx
push ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
call edx
cmp eax, ebx
jne 0x10010da6
cmp dword [esp + 0x40], ebx
je 0x10010da1
cmp dword [esp + 0x44], ebx
je 0x10010da1
lea eax, [esp + 0x54]
call fcn.10006ac0
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ebp
push eax
push ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xdc], ebx
call fcn.1000e990
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x100109ab
lea esi, [esp + 0x54]
call fcn.10004310
mov eax, dword [esp + 0x1c]
jmp 0x10010da6
mov edx, dword [esp + 0x5c]
or edx, dword [esp + 0x60]
je 0x10010d84
test byte [esp + 0x54], 0x10
jne 0x10010d84
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x54]
call fcn.10014fc0
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x10010999
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xd0], 1
mov eax, dword [ebp]
mov edx, dword [eax + 0x48]
push ecx
push ebp
mov dword [esp + 0x58], ebx
call edx
cmp eax, 1
jne 0x10010a49
mov eax, dword [esp + 0x5c]
add dword [esi], eax
mov ecx, dword [esp + 0x60]
push esi
adc dword [esi + 4], ecx
mov edx, dword [ebp]
mov eax, dword [edx + 0x3c]
push ebp
call eax
mov edi, eax
mov byte [esp + 0xc8], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010a39
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x54]
call fcn.10004310
mov eax, edi
jmp 0x10010da6
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebp
call ecx
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xcc], 3
mov edx, dword [ebp]
mov ecx, dword [edx]
push 0x1006188c
push ebp
call ecx
cmp eax, ebx
mov eax, dword [esp + 0x18]
jl 0x10010a94
cmp eax, ebx
je 0x10010a94
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0xc8], 2
cmp eax, ebx
je 0x10010aa8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xc8], 1
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
cmp ecx, ebx
ja 0x10010ae5
jb 0x10010acf
cmp edx, 0xa00000
ja 0x10010ae5
mov al, byte [esp + 0x75]
cmp al, 5
je 0x10010adb
cmp al, 4
jne 0x10010ae5
mov dword [esp + 0x1c], 1
jmp 0x10010ae9
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x38], ebx
je 0x10010bb6
cmp dword [esp + 0x1c], ebx
je 0x10010bb6
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0xd4]
cmp ebx, ecx
jb 0x10010b1f
ja 0x10010b11
cmp eax, edx
jb 0x10010b1f
cmp dword [edi + 0xd0], ebx
lea esi, [edi + 0xd0]
jne 0x10010b7c
lea esi, [edi + 0xd0]
call fcn.10005cc0
mov edx, dword [esp + 0x5c]
push 0x100732c0
push edx
mov dword [edi + 0xd4], ebx
call fcn.10048539
add esp, 8
mov dword [esi], eax
cmp eax, ebx
jne 0x10010b72
mov byte [esp + 0xc8], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010b5f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x54]
call fcn.10004310
mov eax, 0x8007000e
jmp 0x10010da6
mov eax, dword [esp + 0x5c]
mov dword [edi + 0xd4], eax
push 0x1c
call fcn.1004846c
add esp, 4
cmp eax, ebx
je 0x10010ba1
mov ecx, dword [edi + 0xd4]
mov esi, dword [esi]
mov edi, dword [esp + 0x14]
push ecx
push esi
mov esi, eax
call fcn.10012f10
jmp 0x10010ba3
xor eax, eax
mov esi, eax
lea edi, [esp + 0x14]
call fcn.1000ae20
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [esi + 4]
push ebp
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.10010030
mov dword [esp + 0x18], eax
cmp dword [esp + 0x38], ebx
je 0x10010c07
cmp dword [esp + 0x1c], ebx
je 0x10010ce2
cmp eax, ebx
jge 0x10010ce2
mov cl, byte [esp + 0x75]
cmp cl, 1
je 0x10010ce2
cmp cl, bl
je 0x10010ce2
mov edx, dword [esp + 0x2c]
or edx, dword [esp + 0x30]
je 0x10010c58
mov byte [esp + 0xc8], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010c45
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x54]
call fcn.10004310
mov eax, 0x80004005
jmp 0x10010da6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
call edx
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x10010c99
mov byte [esp + 0xc8], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010c87
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x54]
call fcn.10004310
mov eax, dword [esp + 0x3c]
jmp 0x10010da6
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [esi + 4]
push ebp
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x9d], 1
call fcn.10010030
mov dword [esp + 0x18], eax
cmp eax, 0xe00f0001
jne 0x10010d1a
mov dword [esp + 0x18], 0x80004005
mov byte [esp + 0xc8], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010d08
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x54]
call fcn.10004310
mov eax, dword [esp + 0x18]
jmp 0x10010da6
cmp eax, ebx
jl 0x10010cf1
cmp eax, 1
je 0x10010cf1
mov eax, dword [esp + 0x5c]
add dword [esi], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
adc dword [esi + 4], ecx
add dword [edi], edx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
adc dword [edi + 4], eax
push ecx
call fcn.10015030
mov edi, eax
cmp edi, ebx
je 0x10010d75
mov byte [esp + 0xc8], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010d68
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea esi, [esp + 0x54]
call fcn.10004310
mov eax, edi
jmp 0x10010da6
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x40]
push ebx
push ebp
call edx
jmp 0x10010a20
mov eax, dword [esp + 0x20]
push ebx
lea edi, [esp + 0x58]
call fcn.10014f20
lea esi, [esp + 0x54]
mov edi, eax
call fcn.10004310
mov eax, edi
jmp 0x10010da6
mov eax, 0x80070057
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.10047eba
add esp, 0xb8
ret 0x10