Function at 0x100109a0
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 0x1009a7f8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x10113900]
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.1006f97f
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.1006f97f
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.10071a10
mov esi, dword [ebp - 0x1a4]
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x10010bde
mov eax, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0x1a0]
push eax
call fcn.10020830
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1a0], 0x10105d30
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 0x100113e9
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.10024b10
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x20]
cmova ecx, dword [ebp - 0x30]
cmp esi, 0xb
jne 0x100113d4
mov edx, str._MeshFormat
sub esi, 4
jb 0x10010c82
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010c87
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010c71
cmp esi, 0xfffffffc
je 0x10010cbb
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10010cb4
cmp esi, 0xfffffffd
je 0x10010cbb
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10010cb4
cmp esi, 0xfffffffe
je 0x10010cbb
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10010cb4
cmp esi, 0xffffffff
je 0x10010cbb
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10010cbb
sbb eax, eax
or eax, 1
jmp 0x10010cbd
xor eax, eax
test eax, eax
jne 0x100113d4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.100270f0
mov esi, eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x18], eax
mov ecx, esi
lea eax, [ebp - 0x18]
push eax
call fcn.100273e0
lea eax, [edi + 4]
mov ecx, esi
push eax
call fcn.10027260
cmp dword [ebp - 0x18], 1
movsd xmm1, qword [ebp - 0x38]
sete al
comisd xmm1, xmmword [0x10105e20]
mov byte [edi], al
ja 0x10011379
movsd xmm0, qword [0x10105e18]
comisd xmm0, xmm1
ja 0x10011379
cmp dword [edi + 4], 8
jne 0x10011471
test al, al
je 0x10010dde
lea ecx, [ebp - 0x1a0]
call fcn.1001de50
cmp al, 0xa
je 0x10010d50
cmp al, 0x20
je 0x10010d50
cmp al, 9
je 0x10010d50
cmp al, 0xd
jne 0x10010d5d
lea ecx, [ebp - 0x1a0]
call fcn.1001e4f0
jmp 0x10010d35
push 0
push 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1001df80
cmp dword [ebp - 0x18], 1
je 0x10010dde
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10011650
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001d920
mov edx, str.Binary_msh_file
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xd8]
call fcn.10022c90
mov edx, dword [ebp - 0x1a4]
mov ecx, eax
call fcn.10022c70
mov edx, str._is_saved_with_different_endianness_than_this_machine.
mov ecx, eax
call fcn.10022c90
push ecx
mov ecx, eax
call fcn.1001ec80
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001d830
mov byte [ebp - 4], 0x1b
jmp 0x100114bb
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.10024b10
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 0x1001132a
sub eax, 4
mov esi, str._EndMeshFormat
mov dword [ebp - 0x18], eax
jb 0x10010e2b
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10010e30
mov eax, dword [ebp - 0x18]
add edx, 4
add esi, 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x10010e14
cmp eax, 0xfffffffc
je 0x10010e67
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10010e60
cmp dword [ebp - 0x18], 0xfffffffd
je 0x10010e67
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10010e60
cmp dword [ebp - 0x18], 0xfffffffe
je 0x10010e67
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10010e60
cmp dword [ebp - 0x18], 0xffffffff
je 0x10010e67
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x10010e67
sbb eax, eax
or eax, 1
jmp 0x10010e69
xor eax, eax
test eax, eax
jne 0x1001132a
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x194], 1
jne 0x1001127b
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.10024b10
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 0x10010f92
mov eax, dword [ecx]
mov edx, str._Nodes
mov dword [ebp - 0x1a4], 2
cmp eax, dword [edx]
jne 0x10010ef1
add ecx, 4
mov dword [ebp - 0x1a4], 0xfffffffe
add edx, 4
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10010f1c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10010f1c
cmp dword [ebp - 0x1a4], 0xfffffffe
je 0x10010f18
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10010f1c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10010f1c
xor eax, eax
jmp 0x10010f21
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10010f8f
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.10011670
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.10024b10
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 9
jne 0x10011225
mov edx, str._EndNodes
mov esi, 5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010f77
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010f66
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001121c
cmp esi, 0xfffffffd
je 0x10011218
jmp 0x10011118
mov eax, dword [ebp - 0x20]
cmp edi, 0xf
lea ecx, [ebp - 0x30]
cmova ecx, esi
cmp eax, 9
jne 0x10011054
mov edx, str._Elements
lea esi, [eax - 4]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010fc1
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010fb0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10010fe8
cmp esi, 0xfffffffd
je 0x10010fe4
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10010fe8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10010fe8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10010fe8
xor eax, eax
jmp 0x10010fed
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001104e
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.10011820
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.10024b10
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0xc
jne 0x10011225
mov edx, str._EndElements
mov esi, 8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001110e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10011032
xor eax, eax
jmp 0x10011221
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp edi, 0xf
lea ecx, [ebp - 0x30]
cmova ecx, esi
cmp eax, 9
jne 0x10011149
mov edx, str._NodeData
lea esi, [eax - 4]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10011081
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10011070
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100110a8
cmp esi, 0xfffffffd
je 0x100110a4
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100110a8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100110a8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100110a8
xor eax, eax
jmp 0x100110ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10011143
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.10011ca0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.10024b10
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0xc
jne 0x10011225
mov edx, str._EndNodeData
mov esi, 8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001110e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100110f6
xor eax, eax
jmp 0x10011221
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001121c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001121c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1001121c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1001121c
xor eax, eax
jmp 0x10011221
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp edi, 0xf
lea ecx, [ebp - 0x30]
cmova ecx, esi
cmp eax, 0xc
jne 0x1001123a
mov edx, str._ElementData
lea esi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10011178
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10011163
xor eax, eax
jmp 0x1001119f
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001119a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001119a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1001119a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1001119a
xor eax, eax
jmp 0x1001119f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001123a
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a0]
push eax
call fcn.10012390
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1a0]
call fcn.10024b10
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0xf
jne 0x10011225
mov edx, str._EndElementData
mov esi, 0xb
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100111f5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100111e4
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001121c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001121c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1001121c
cmp esi, 0xffffffff
je 0x10011218
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1001121c
xor eax, eax
jmp 0x10011221
sbb eax, eax
or eax, 1
test eax, eax
je 0x10011260
push str.Unexpected_tag
lea ecx, [ebp - 0x1ac]
call fcn.10001e50
jmp 0x100114c7
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x194], 1
jne 0x1001127b
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.100129a0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x194], 1
jne 0x1001127b
mov ecx, dword [ebp - 0x30]
jmp 0x10010e90
lea ecx, [ebp - 0x190]
call fcn.10020c70
test eax, eax
jne 0x100112b3
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 0x100112e7
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100112dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100114d8
push ecx
push edx
call fcn.1006fe17
add esp, 8
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.100114f0
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.1006f8b7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10011650
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001d920
mov edx, str.Unexpected_contents_in_the_file_header.
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xd8]
call fcn.10022c90
push ecx
mov ecx, eax
call fcn.1001ec80
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001d830
mov byte [ebp - 4], 0x1d
jmp 0x100114bb
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10011650
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001d920
mov edx, str.Error:_Unsupported_file_version:
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xd8]
call fcn.10022c90
movsd xmm1, qword [ebp - 0x38]
mov ecx, eax
call fcn.1001e7f0
push ecx
mov ecx, eax
call fcn.1001ec80
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001d830
mov byte [ebp - 4], 0x15
jmp 0x100114bb
push str.Unexpected_.msh_format
lea ecx, [ebp - 0x1ac]
call fcn.10001e50
jmp 0x100114c7
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10011650
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001d920
mov edx, str.failed_to_open_file__
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd8]
call fcn.10022c90
mov edx, esi
mov ecx, eax
call fcn.10022c70
mov edx, 0x100cc3a4
mov ecx, eax
call fcn.10022c90
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.1001d830
push esi
push eax
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
call fcn.10002830
push 0x10110fbc
lea eax, [ebp - 0x1e0]
push eax
call fcn.10071c1d
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10011650
push ecx
lea ecx, [ebp - 0xe8]
call fcn.1001d920
mov edx, str.Error:_data_size_must_be_8_bytes.
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd8]
call fcn.10022c90
push ecx
mov ecx, eax
call fcn.1001ec80
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001d830
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x1ac]
call fcn.10001df0
push 0x10110ef4
lea eax, [ebp - 0x1ac]
push eax
call fcn.10071c1d
call fcn.10081cc9
int3