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

Disassembly:
push 0xffffffffffffffff
push 0x100115bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x1001425c
mov dword [esp + 0x20], ebx
call fcn.10003d90
mov esi, dword [esp + 0x2bc]
mov ebp, dword [0x1001202c]
lea eax, [ebx + 0x10]
push esi
push eax
call ebp
lea ecx, [esp + 0x5f]
lea edx, [esp + 0x5e]
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.10004d90
lea eax, [esp + 0x1b]
lea ecx, [esp + 0x74]
push eax
mov dword [esp + 0x2b8], 0
call fcn.10003dd0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2b4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.10001380
lea ecx, [esp + 0x64]
call fcn.100055e0
lea ecx, [esp + 0x64]
call fcn.100044e0
xor ecx, ecx
push 0x100147d8
mov dword [esp + 0x35], ecx
mov byte [esp + 0x34], 0
mov dword [esp + 0x39], ecx
mov byte [esp + 0x3d], cl
mov ecx, ebx
call fcn.10003d90
lea edx, [esp + 0x30]
test edx, edx
je 0x10002fff
mov al, byte [esp + 0x1b]
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.10001420
mov edi, 0x100147d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x100147d0
lea ecx, [esp + 0x28]
call fcn.10005a60
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2bc], 2
call fcn.10004e40
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], 1
call fcn.10001420
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
je 0x10002fed
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x40]
call fcn.10003dd0
mov edx, 0x100147c8
mov byte [esp + 0x2b4], 3
test edx, edx
jne 0x10002f3f
lea eax, [esp + 0x12]
lea ecx, [esp + 0x20]
push eax
push 0x100175a0
call fcn.10004c30
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 1
lea edx, [esp + 0xa4]
mov bl, 4
push ecx
push edx
lea ecx, [eax + 0x1c]
mov byte [esp + 0x2c0], bl
call fcn.10004f00
mov ecx, dword [0x100121cc]
mov byte [esp + 0x2b4], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x48]
call fcn.10005860
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2b8], bl
call fcn.10001420
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], 3
call fcn.10001420
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10002f30
xor bl, bl
xor esi, esi
test bl, bl
jne 0x10002fd4
push esi
lea ecx, [esp + 0x40]
call fcn.10004cf0
mov dl, byte [eax]
test esi, esi
mov byte [esp + esi + 0x30], dl
jle 0x10002f25
push esi
lea ecx, [esp + 0x40]
call fcn.10004cf0
cmp byte [eax], 0
jne 0x10002f25
lea eax, [esi - 1]
lea ecx, [esp + 0x3c]
push eax
call fcn.10004cf0
cmp byte [eax], 0
jne 0x10002f25
mov bl, 1
inc esi
cmp esi, 0xa
jb 0x10002ee6
jmp 0x10002fd4
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0
jmp 0x10002fd4
lea ecx, [esp + 0x12]
push ecx
push 0x100147c8
lea ecx, [esp + 0x28]
call fcn.10004c30
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0xa4]
mov bl, 6
push edx
push eax
add ecx, 0x1c
mov byte [esp + 0x2c0], bl
call fcn.10004f00
mov edx, dword [0x100121cc]
lea ecx, [esp + 0x3c]
push edx
push 0
push eax
mov byte [esp + 0x2c0], 7
call fcn.10005860
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2b8], bl
call fcn.10001420
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], 3
call fcn.10001420
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x10002fc6
mov eax, 0x100121c8
push 0xa
push eax
lea eax, [esp + 0x38]
push eax
call dword [0x1001203c]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x2b8], 1
call fcn.10001420
mov ebx, dword [esp + 0x1c]
jmp 0x10002fff
push 0xa
lea ecx, [esp + 0x34]
push 0x100147c4
push ecx
call dword [0x1001203c]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x149]
mov byte [esp + 0x148], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x30]
stosb byte es:[edi], al
push edx
push 0x100147b4
lea eax, [esp + 0x150]
push 0x100147ac
push eax
call dword [0x10012164]
add esp, 0x10
lea ecx, [esp + 0x148]
push ecx
mov ecx, ebx
call fcn.10003d90
lea edx, [esp + 0x30]
push edx
call fcn.10009e7a
add esp, 4
mov dword [esp + 0x84], eax
test eax, eax
jle 0x1000387c
cmp eax, 1
mov dword [esp + 0x58], 1
jl 0x1000385e
xor eax, eax
mov edx, dword [esp + 0x58]
mov dword [esp + 0x8d], eax
lea ecx, [esp + 0x62]
mov dword [esp + 0x91], eax
push 0xa
mov dword [esp + 0x99], eax
push ecx
mov dword [esp + 0xa1], eax
push edx
mov word [esp + 0xa9], ax
mov byte [esp + 0x98], 0
mov byte [esp + 0xab], al
call fcn.100098d6
add esp, 0xc
push eax
push 0x100147a4
lea eax, [esp + 0x94]
push 0x100147ac
push eax
call dword [0x10012164]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0xc1]
mov byte [esp + 0xc0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc0]
add esp, 0x10
test ecx, ecx
stosb byte es:[edi], al
je 0x10003341
lea edx, [esp + 0x12]
lea ecx, [esp + 0x138]
push edx
push 0x100147d0
call fcn.10004c30
lea eax, [esp + 0x138]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2bc], 8
call fcn.10004e40
push 1
lea ecx, [esp + 0x13c]
mov byte [esp + 0x2b8], 1
call fcn.10001420
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
cmp edx, eax
je 0x1000332c
lea eax, [esp + 0x13]
lea ecx, [esp + 0x3c]
push eax
call fcn.10003dd0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2b4], 9
test ecx, ecx
jne 0x10003283
lea edx, [esp + 0x61]
lea ecx, [esp + 0x128]
push edx
push 0x100175a0
call fcn.10004c30
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x128]
push 1
lea ecx, [esp + 0x18c]
push eax
push ecx
lea ecx, [edx + 0x1c]
mov byte [esp + 0x2c0], 0xa
call fcn.10004f00
mov ecx, dword [0x100121cc]
mov byte [esp + 0x2b4], 0xb
push ecx
push 0
push eax
lea ecx, [esp + 0x48]
call fcn.10005860
push 1
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2b8], 0xa
call fcn.10001420
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x2b8], 9
call fcn.10001420
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10003271
xor bl, bl
xor esi, esi
test bl, bl
jne 0x10003255
push esi
lea ecx, [esp + 0x40]
call fcn.10004cf0
mov dl, byte [eax]
test esi, esi
mov byte [esp + esi + 0xb0], dl
jle 0x1000324f
push esi
lea ecx, [esp + 0x40]
call fcn.10004cf0
cmp byte [eax], 0
jne 0x1000324f
lea eax, [esi - 1]
lea ecx, [esp + 0x3c]
push eax
call fcn.10004cf0
cmp byte [eax], 0
jne 0x1000324f
mov bl, 1
inc esi
cmp esi, 0x48
jb 0x10003211
mov ebx, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x2b8], 1
call fcn.10001420
jmp 0x10003341
mov byte [esp + 0xb0], 0
mov byte [esp + 0xb1], 0
jmp 0x10003259
lea ecx, [esp + 0x63]
lea edx, [esp + 0x8c]
push ecx
push edx
lea ecx, [esp + 0x120]
call fcn.10004c30
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x118]
push 0
lea ecx, [esp + 0x16c]
push eax
push ecx
lea ecx, [edx + 0x1c]
mov byte [esp + 0x2c0], 0xc
call fcn.10004f00
mov ecx, dword [0x100121cc]
mov byte [esp + 0x2b4], 0xd
push ecx
push 0
push eax
lea ecx, [esp + 0x48]
call fcn.10005860
push 1
lea ecx, [esp + 0x16c]
mov byte [esp + 0x2b8], 0xc
call fcn.10001420
push 1
lea ecx, [esp + 0x11c]
mov byte [esp + 0x2b8], 9
call fcn.10001420
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x10003316
mov eax, 0x100121c8
push 0x48
lea edx, [esp + 0xb4]
push eax
push edx
call dword [0x1001203c]
jmp 0x10003259
push 0x48
lea eax, [esp + 0xb4]
push 0x100175a0
push eax
call dword [0x1001203c]
push 0x528
call fcn.1000983f
xor esi, esi
add esp, 4
cmp eax, esi
je 0x10003394
mov dword [eax + 0x514], esi
mov dword [eax + 0x518], esi
mov dword [eax + 0x51c], esi
mov dword [eax + 0x524], esi
mov byte [eax + 0x520], 0
mov byte [eax], 0
mov byte [eax + 0x104], 0
mov byte [eax + 0x208], 0
mov byte [eax + 0x30c], 0
mov byte [eax + 0x410], 0
mov esi, eax
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x88], esi
test ecx, ecx
je 0x100035ef
lea edx, [esp + 0x57]
lea eax, [esp + 0xb0]
push edx
push eax
lea ecx, [esp + 0x110]
call fcn.10004c30
lea ecx, [esp + 0x108]
lea edx, [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2bc], 0xe
call fcn.10004e40
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2b8], 1
call fcn.10001420
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
je 0x100035d7
lea ecx, [esp + 0x4f]
push ecx
lea ecx, [esp + 0x24]
call fcn.10003dd0
mov edx, 0x100147a4
mov byte [esp + 0x2b4], 0xf
test edx, edx
jne 0x1000352e
lea eax, [esp + 0x56]
lea ecx, [esp + 0xf8]
push eax
push 0x100175a0
call fcn.10004c30
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xf8]
push 1
lea edx, [esp + 0x19c]
push ecx
push edx
lea ecx, [eax + 0x1c]
mov byte [esp + 0x2c0], 0x10
call fcn.10004f00
mov ecx, dword [0x100121cc]
mov byte [esp + 0x2b4], 0x11
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.10005860
push 1
lea ecx, [esp + 0x19c]
mov byte [esp + 0x2b8], 0x10
call fcn.10001420
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x2b8], 0xf
call fcn.10001420
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1000351c
xor bl, bl
xor edi, edi
test bl, bl
jne 0x10003500
push edi
lea ecx, [esp + 0x24]
call fcn.10004cf0
mov dl, byte [eax]
test edi, edi
mov byte [esp + edi + 0x1a8], dl
jle 0x100034f7
push edi
lea ecx, [esp + 0x24]
call fcn.10004cf0
cmp byte [eax], 0
jne 0x100034f7
lea eax, [edi - 1]
lea ecx, [esp + 0x20]
push eax
call fcn.10004cf0
cmp byte [eax], 0
jne 0x100034f7
mov bl, 1
inc edi
cmp edi, 0x104
jb 0x100034b9
mov ebx, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], 1
call fcn.10001420
jmp 0x100035ef
mov byte [esp + 0x1a8], 0
mov byte [esp + 0x1a9], 0
jmp 0x10003504
lea ecx, [esp + 0x60]
push ecx
push 0x100147a4
lea ecx, [esp + 0xa8]
call fcn.10004c30
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0xa0]
push 0
lea eax, [esp + 0x17c]
push edx
push eax
add ecx, 0x1c
mov byte [esp + 0x2c0], 0x12
call fcn.10004f00
mov edx, dword [0x100121cc]
lea ecx, [esp + 0x20]
push edx
push 0
push eax
mov byte [esp + 0x2c0], 0x13
call fcn.10005860
push 1
lea ecx, [esp + 0x17c]
mov byte [esp + 0x2b8], 0x12
call fcn.10001420
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2b8], 0xf
call fcn.10001420
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100035be
mov eax, 0x100121c8
push 0x104
push eax
lea eax, [esp + 0x1b0]
push eax
call dword [0x1001203c]
jmp 0x10003504
push 0x104
lea ecx, [esp + 0x1ac]
push 0x100175a0
push ecx
call dword [0x1001203c]
lea edx, [esp + 0x1a8]
lea eax, [esi + 0x104]
push edx
push eax
call ebp
lea ecx, [esp + 0x1a8]
push 0x104
push ecx
push 0x100175a0
lea edx, [esp + 0xbc]
push 0x10014798
push edx
lea ecx, [esp + 0x78]
call fcn.100040a0
lea eax, [esp + 0x1a8]
lea ecx, [esi + 0x208]
push eax
push ecx
call ebp
lea edx, [esp + 0x1a8]
push 0x104
push edx
push 0x100175a0
lea eax, [esp + 0xbc]
push 0x1001478c
push eax
lea ecx, [esp + 0x78]
call fcn.100040a0
lea ecx, [esp + 0x1a8]
push ecx
push esi
call ebp
lea edx, [esp + 0x1a8]
push 0x104
push edx
push 0x100175a0
lea eax, [esp + 0xbc]
push 0x1001477c
push eax
lea ecx, [esp + 0x78]
call fcn.100040a0
lea ecx, [esp + 0x1a8]
lea edx, [esi + 0x410]
push ecx
push edx
call ebp
lea eax, [esp + 0x1a8]
push 0x104
push eax
push 0x100175a0
lea ecx, [esp + 0xbc]
push 0x10014770
push ecx
lea ecx, [esp + 0x78]
call fcn.100040a0
lea edx, [esp + 0x1a8]
lea eax, [esi + 0x30c]
push edx
push eax
call ebp
lea ecx, [esp + 0x1a8]
push 0x104
push ecx
push 0x100175a0
lea edx, [esp + 0xbc]
push 0x10014764
push edx
lea ecx, [esp + 0x78]
call fcn.100040a0
lea eax, [esp + 0x1a8]
push eax
call fcn.10009e7a
add esp, 4
lea ecx, [esp + 0x1a8]
lea edx, [esp + 0xb0]
mov dword [esi + 0x514], eax
push 0x104
push ecx
push 0x100175a0
push 0x1001475c
push edx
lea ecx, [esp + 0x78]
call fcn.100040a0
lea eax, [esp + 0x1a8]
push eax
call fcn.10009f05
add esp, 4
mov dword [esi + 0x518], eax
test eax, eax
jg 0x10003768
mov dword [esi + 0x518], 0x7f58
lea ecx, [esp + 0x1a8]
push 0x104
push ecx
push 0x100175a0
lea edx, [esp + 0xbc]
push 0x10014754
push edx
lea ecx, [esp + 0x78]
call fcn.100040a0
lea eax, [esp + 0x1a8]
push eax
call fcn.10009f05
add esp, 4
lea ecx, [esp + 0x1a8]
lea edx, [esp + 0xb0]
mov dword [esi + 0x51c], eax
push 0x104
push ecx
push 0x100175a0
push 0x1001474c
push edx
lea ecx, [esp + 0x78]
call fcn.100040a0
lea eax, [esp + 0x1a8]
push 0x10014748
push eax
call dword [0x1001204c]
test eax, eax
jne 0x100037ee
mov byte [esi + 0x520], 1
jmp 0x100037f5
mov byte [esi + 0x520], 0
lea ecx, [esp + 0x1a8]
push 0x104
push ecx
push 0x100175a0
lea edx, [esp + 0xbc]
push 0x10014740
push edx
lea ecx, [esp + 0x78]
call fcn.100040a0
lea eax, [esp + 0x1a8]
push eax
call fcn.10009e7a
add esp, 4
mov dword [esi + 0x524], eax
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x88]
push ecx
push eax
mov ecx, ebx
call fcn.10003e10
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x84]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jle 0x10003074
push 0x10014724
mov ecx, ebx
call fcn.10003d90
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push 0
push eax
push ecx
call fcn.10008a20
add esp, 0xc
lea ecx, [esp + 0x64]
mov dword [esp + 0x2b4], 0xffffffff
call fcn.10003fb0
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a8
ret 4