Function at 0x100108f0
Capabilities:
Access peb ldr_data
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0878
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x100f3900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x18], edi
mov edx, dword [ebx + 8]
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1a4], edx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov byte [ebp - 4], 0xc
lea esi, [edi + 0xa4]
mov dword [ebp - 0x18], esi
push 0x1c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100754df
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov byte [ebp - 4], 0xe
lea esi, [edi + 0xb8]
mov dword [ebp - 0x18], esi
push 0x1c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100754df
mov dword [eax], eax
add esp, 4
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xb8
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 0xf
push 0
push eax
call fcn.10077570
mov esi, dword [ebp - 0x1a4]
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x10010b2e
mov eax, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0x1a0]
push eax
call fcn.1001f5c0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1a0], 0x100e70a0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a4], eax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x144], 0
je 0x10011339
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1a0]
call fcn.100238c0
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x20]
cmova ecx, dword [ebp - 0x30]
cmp esi, 0xb
jne 0x10011324
mov edx, str._MeshFormat
sub esi, 4
jb 0x10010bd2
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010bd7
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010bc1
cmp esi, 0xfffffffc
je 0x10010c0b
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10010c04
cmp esi, 0xfffffffd
je 0x10010c0b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10010c04
cmp esi, 0xfffffffe
je 0x10010c0b
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10010c04
cmp esi, 0xffffffff
je 0x10010c0b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10010c0b
sbb eax, eax
or eax, 1
jmp 0x10010c0d
xor eax, eax
test eax, eax
jne 0x10011324
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10025e90
mov esi, eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x18], eax
mov ecx, esi
lea eax, [ebp - 0x18]
push eax
call fcn.10026180
lea eax, [edi + 4]
mov ecx, esi
push eax
call fcn.10026000
cmp dword [ebp - 0x18], 1
movsd xmm1, qword [ebp - 0x38]
sete al
comisd xmm1, xmmword [0x100e7190]
mov byte [edi], al
ja 0x100112c9
movsd xmm0, qword [0x100e7188]
comisd xmm0, xmm1
ja 0x100112c9
cmp dword [edi + 4], 8
jne 0x100113c1
test al, al
je 0x10010d2e
lea ecx, [ebp - 0x1a0]
call fcn.1001cde0
cmp al, 0xa
je 0x10010ca0
cmp al, 0x20
je 0x10010ca0
cmp al, 9
je 0x10010ca0
cmp al, 0xd
jne 0x10010cad
lea ecx, [ebp - 0x1a0]
call fcn.1001d480
jmp 0x10010c85
push 0
push 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1001cf10
cmp dword [ebp - 0x18], 1
je 0x10010d2e
push ecx
lea ecx, [ebp - 0xe8]
call fcn.100115a0
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001c8b0
mov edx, str.Binary_msh_file
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xd8]
call fcn.10021a60
mov edx, dword [ebp - 0x1a4]
mov ecx, eax
call fcn.10021a40
mov edx, str._is_saved_with_different_endianness_than_this_machine.
mov ecx, eax
call fcn.10021a60
push ecx
mov ecx, eax
call fcn.1001dc10
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001c7c0
mov byte [ebp - 4], 0x1b
jmp 0x1001140b
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.100238c0
mov edi, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
cmp edi, 0xf
mov eax, dword [ebp - 0x20]
cmova edx, ecx
cmp eax, 0xe
jne 0x1001127a
sub eax, 4
mov esi, str._EndMeshFormat
mov dword [ebp - 0x18], eax
jb 0x10010d7b
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10010d80
mov eax, dword [ebp - 0x18]
add edx, 4
add esi, 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x10010d64
cmp eax, 0xfffffffc
je 0x10010db7
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10010db0
cmp dword [ebp - 0x18], 0xfffffffd
je 0x10010db7
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10010db0
cmp dword [ebp - 0x18], 0xfffffffe
je 0x10010db7
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10010db0
cmp dword [ebp - 0x18], 0xffffffff
je 0x10010db7
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x10010db7
sbb eax, eax
or eax, 1
jmp 0x10010db9
xor eax, eax
test eax, eax
jne 0x1001127a
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x194], 1
jne 0x100111cb
nop dword [eax + eax]
cmp edi, 0xf
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x30]
cmova eax, ecx
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
mov byte [eax], 0
call fcn.100238c0
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x30]
cmp edi, 0xf
mov eax, dword [ebp - 0x20]
cmova ecx, esi
cmp eax, 6
jne 0x10010ee2
mov eax, dword [ecx]
mov edx, str._Nodes
mov dword [ebp - 0x1a4], 2
cmp eax, dword [edx]
jne 0x10010e41
add ecx, 4
mov dword [ebp - 0x1a4], 0xfffffffe
add edx, 4
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10010e6c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10010e6c
cmp dword [ebp - 0x1a4], 0xfffffffe
je 0x10010e68
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10010e6c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10010e6c
xor eax, eax
jmp 0x10010e71
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10010edf
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.100115c0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.100238c0
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 9
jne 0x10011175
mov edx, str._EndNodes
mov esi, 5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010ec7
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010eb6
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001116c
cmp esi, 0xfffffffd
je 0x10011168
jmp 0x10011068
mov eax, dword [ebp - 0x20]
cmp edi, 0xf
lea ecx, [ebp - 0x30]
cmova ecx, esi
cmp eax, 9
jne 0x10010fa4
mov edx, str._Elements
lea esi, [eax - 4]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010f11
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010f00
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10010f38
cmp esi, 0xfffffffd
je 0x10010f34
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10010f38
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10010f38
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10010f38
xor eax, eax
jmp 0x10010f3d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10010f9e
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.10011770
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.100238c0
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0xc
jne 0x10011175
mov edx, str._EndElements
mov esi, 8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001105e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010f82
xor eax, eax
jmp 0x10011171
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp edi, 0xf
lea ecx, [ebp - 0x30]
cmova ecx, esi
cmp eax, 9
jne 0x10011099
mov edx, str._NodeData
lea esi, [eax - 4]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010fd1
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010fc0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10010ff8
cmp esi, 0xfffffffd
je 0x10010ff4
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10010ff8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10010ff8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10010ff8
xor eax, eax
jmp 0x10010ffd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10011093
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.10011bf0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.100238c0
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0xc
jne 0x10011175
mov edx, str._EndNodeData
mov esi, 8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001105e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10011046
xor eax, eax
jmp 0x10011171
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001116c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001116c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1001116c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1001116c
xor eax, eax
jmp 0x10011171
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp edi, 0xf
lea ecx, [ebp - 0x30]
cmova ecx, esi
cmp eax, 0xc
jne 0x1001118a
mov edx, str._ElementData
lea esi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100110c8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100110b3
xor eax, eax
jmp 0x100110ef
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100110ea
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100110ea
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100110ea
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100110ea
xor eax, eax
jmp 0x100110ef
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001118a
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.100122e0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.100238c0
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0xf
jne 0x10011175
mov edx, str._EndElementData
mov esi, 0xb
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10011145
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10011134
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001116c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001116c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1001116c
cmp esi, 0xffffffff
je 0x10011168
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1001116c
xor eax, eax
jmp 0x10011171
sbb eax, eax
or eax, 1
test eax, eax
je 0x100111b0
push str.Unexpected_tag
lea ecx, [ebp - 0x1ac]
call fcn.10001e50
jmp 0x10011417
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x194], 1
jne 0x100111cb
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.100128f0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x194], 1
jne 0x100111cb
mov ecx, dword [ebp - 0x30]
jmp 0x10010de0
lea ecx, [ebp - 0x190]
call fcn.1001fa00
test eax, eax
jne 0x10011203
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10002950
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10011237
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001122d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011428
push ecx
push edx
call fcn.10075972
add esp, 8
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10011440
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10075417
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push ecx
lea ecx, [ebp - 0xe8]
call fcn.100115a0
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001c8b0
mov edx, str.Unexpected_contents_in_the_file_header.
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xd8]
call fcn.10021a60
push ecx
mov ecx, eax
call fcn.1001dc10
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001c7c0
mov byte [ebp - 4], 0x1d
jmp 0x1001140b
push ecx
lea ecx, [ebp - 0xe8]
call fcn.100115a0
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001c8b0
mov edx, str.Error:_Unsupported_file_version:
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xd8]
call fcn.10021a60
movsd xmm1, qword [ebp - 0x38]
mov ecx, eax
call fcn.1001d780
push ecx
mov ecx, eax
call fcn.1001dc10
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001c7c0
mov byte [ebp - 4], 0x15
jmp 0x1001140b
push str.Unexpected_.msh_format
lea ecx, [ebp - 0x1ac]
call fcn.10001e50
jmp 0x10011417
push ecx
lea ecx, [ebp - 0xe8]
call fcn.100115a0
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001c8b0
mov edx, str.failed_to_open_file__
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd8]
call fcn.10021a60
mov edx, esi
mov ecx, eax
call fcn.10021a40
mov edx, 0x100e5a94
mov ecx, eax
call fcn.10021a60
lea eax, [ebp - 0x1a8]
push 1
push eax
call fcn.10001f80
add esp, 8
lea ecx, [ebp - 0xe8]
mov esi, eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.1001c7c0
push esi
push eax
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
call fcn.10002830
push 0x100f16bc
lea eax, [ebp - 0x1e0]
push eax
call fcn.1007777d
push ecx
lea ecx, [ebp - 0xe8]
call fcn.100115a0
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001c8b0
mov edx, str.Error:_data_size_must_be_8_bytes.
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd8]
call fcn.10021a60
push ecx
mov ecx, eax
call fcn.1001dc10
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001c7c0
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x1ac]
call fcn.10001df0
push 0x100f15f4
lea eax, [ebp - 0x1ac]
push eax
call fcn.1007777d
call fcn.10087829
int3