Function at 0x10003120
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f515
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [edi], vtable.GEOS.0
mov dword [ebp - 4], 0
mov dword [edi], vtable.GEOM.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x3c], eax
lea ecx, [edi + 0x40]
call fcn.10002e40
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov byte [ebp - 4], 4
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov byte [ebp - 4], 5
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov byte [ebp - 4], 6
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov byte [ebp - 4], 7
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov byte [ebp - 4], 8
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov byte [ebp - 4], 9
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov byte [ebp - 4], 0xa
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov byte [ebp - 4], 0xb
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov byte [ebp - 4], 0xc
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov byte [ebp - 4], 0xd
xorps xmm0, xmm0
movsd qword [edi + 0x108], xmm0
movsd qword [edi + 0x110], xmm0
movsd qword [edi + 0x118], xmm0
movsd qword [edi + 0x120], xmm0
movsd qword [edi + 0x128], xmm0
movsd qword [edi + 0x130], xmm0
mov dword [edi + 0x14c], 0xf
mov dword [edi + 0x148], 0
mov byte [edi + 0x138], 0
mov byte [ebp - 4], 0xe
mov dword [edi + 0x104], 0xffffffff
mov dword [edi + 0x34], 0x40000000
mov dword [edi + 0x38], 0x40000000
mov dword [edi + 0x150], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0xf
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x40], edx
test edx, edx
je 0x1000345b
mov dword [ebp - 0x5c], 0xffffffff
mov byte [ebp - 4], 0x10
wait
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 4]
call eax
mov esi, eax
mov dword [ebp - 0x5c], esi
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10003415
push eax
lea ecx, [ebp - 0x4c]
call fcn.10006570
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x4c]
push esi
call dword [edx + 8]
wait
mov dword [ebp - 4], 0xf
jmp 0x1000344d
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp + 0xc], ecx
wait
mov dword [ebp - 4], 0xf
jmp 0x1000344d
cmp esi, 0xffffffff
je 0x1000345b
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push esi
call dword [eax + 0x10]
mov dword [edi + 0xe8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov byte [ebp - 4], 0x12
wait
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
mov esi, dword [ebp + 8]
push esi
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x14], eax
wait
mov dword [ebp - 4], 0xf
test esi, esi
je 0x100034b6
cmp byte [esi], 0
jne 0x10003497
xor ecx, ecx
jmp 0x100034a9
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100034a0
sub ecx, edx
push ecx
push esi
lea ecx, [edi + 0x138]
call fcn.100028a0
lea esi, [edi + 0x40]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push 0x48
push esi
push dword [ebp - 0x14]
call dword [eax + 8]
cmp dword [esi], 0x312e3035
je 0x1000350b
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push dword [ebp - 0x14]
call dword [eax + 0x10]
mov dword [ebp + 0x10], str.Invalid_3d_model_version
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x74], vtable.std::runtime_error.0
mov byte [ebp - 4], 0xf
push 0x10012644
lea eax, [ebp - 0x74]
push eax
call sub.MSVCR110.dll__CxxThrowException
cmp dword [edi + 0x48], 0
je 0x10003540
mov byte [ebp - 4], 0x15
wait
push dword [edi + 0x48]
lea ecx, [edi + 0x88]
call fcn.10005980
wait
mov dword [ebp - 4], 0xf
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push dword [edi + 0x48]
push dword [edi + 0x88]
push dword [ebp - 0x14]
call dword [eax + 8]
mov byte [ebp - 4], 0x17
wait
push dword [edi + 0x4c]
lea ecx, [edi + 0x94]
call fcn.10005e20
wait
mov dword [ebp - 4], 0xf
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x4c]
shl eax, 2
push eax
push dword [edi + 0x94]
push dword [ebp - 0x14]
call dword [edx + 8]
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
je 0x1000361d
cmp dword [edi + 0x50], 0
je 0x1000361d
mov byte [ebp - 4], 0x19
wait
push dword [edi + 0x50]
lea ecx, [edi + 0xa0]
call fcn.10005e20
push dword [edi + 0x50]
lea ecx, [edi + 0xac]
call fcn.10005e20
mov ecx, dword [edi + 0xb0]
mov eax, dword [edi + 0xac]
mov dword [ebp - 0x64], eax
cmp eax, ecx
je 0x100035fd
mov dword [eax], 0xffffffff
add eax, 4
jmp 0x100035bc
wait
mov dword [ebp - 4], 0xf
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x50]
shl eax, 2
push eax
push dword [edi + 0xa0]
push dword [ebp - 0x14]
call dword [edx + 8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0x1b
cmp dword [edi + 0x54], 0
je 0x10003680
mov byte [ebp - 4], 0x1c
wait
push dword [edi + 0x54]
lea ecx, [ebp - 0x58]
call fcn.10006690
push dword [edi + 0x54]
lea ecx, [edi + 0xb8]
call fcn.10005f40
wait
mov dword [ebp - 4], 0x1b
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx]
mov eax, dword [edi + 0x54]
lea edx, [eax*8]
sub edx, eax
shl edx, 3
push edx
push dword [ebp - 0x58]
push dword [ebp - 0x14]
call dword [esi + 8]
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
je 0x1000383e
cmp dword [edi + 0x58], 0
je 0x1000383e
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1f
wait
push dword [edi + 0x58]
lea ecx, [ebp - 0x24]
call fcn.100067d0
lea esi, [edi + 0xc4]
push dword [edi + 0x58]
mov ecx, esi
call fcn.10006070
wait
mov dword [ebp - 4], 0x1e
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x58]
lea eax, [eax + eax*4]
shl eax, 4
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [edx + 8]
mov dword [ebp + 8], 0
cmp dword [edi + 0x58], 0
jle 0x10003812
xor edx, edx
mov eax, dword [ebp - 0x24]
add eax, 0xc
mov dword [ebp + 0x10], eax
mov ecx, dword [esi]
mov eax, dword [eax - 0xc]
mov dword [edx + ecx], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 8]
mov dword [ecx + edx + 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [edi + 0x88]
mov eax, dword [esi]
mov dword [eax + edx + 0x10], ecx
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 0x14], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov dword [ecx + edx + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [ecx + edx + 0x1c], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ecx + edx + 0x20], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ecx + edx + 0x24], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x18]
mov dword [ecx + edx + 0x28], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ecx + edx + 0x2c], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x20]
mov dword [ecx + edx + 0x30], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x24]
mov dword [ecx + edx + 0x34], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [ecx + edx + 0x38], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [ecx + edx + 0x3c], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
mov dword [ecx + edx + 0x40], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x34]
mov dword [ecx + edx + 0x44], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x38]
mov dword [ecx + edx + 0x48], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ecx + edx + 0x4c], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x40]
mov dword [ecx + edx + 0x50], eax
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0x10]
add eax, 0x50
mov dword [ebp + 0x10], eax
lea edx, [edx + 0x54]
cmp ecx, dword [edi + 0x58]
jl 0x10003711
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1000383e
mov ecx, dword [0x10016664]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp + 0x13], 0
mov byte [ebp + 0xb], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x3c], 0
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
je 0x10003c0a
cmp dword [edi + 0x5c], 0
je 0x10003c0a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x22
wait
push dword [edi + 0x5c]
lea ecx, [ebp - 0x24]
call fcn.10006920
lea ecx, [edi + 0xd0]
push dword [edi + 0x5c]
call fcn.100061a0
wait
mov dword [ebp - 4], 0x21
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x5c]
imul eax, eax, 0x6c
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [edx + 8]
mov dword [ebp - 0x2c], 0
cmp dword [edi + 0x5c], 0
jle 0x10003bde
xor esi, esi
mov dword [ebp - 0x28], esi
lea edx, [edi + 0xd0]
lea ebx, [ebx]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi + 8]
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + esi + 4]
add ecx, dword [edi + 0x88]
mov eax, dword [edx]
mov dword [esi + eax + 0x48], ecx
mov eax, dword [edx]
push str.flipX
push dword [eax + esi + 0x48]
call dword [sym.imp.MSVCR110.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100039c6
mov byte [ebp + 0x13], 1
jmp 0x10003a35
mov eax, dword [edi + 0xd0]
push str.flipZ
push dword [eax + esi + 0x48]
call dword [sym.imp.MSVCR110.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100039e8
mov byte [ebp - 0x15], 1
jmp 0x10003a35
mov eax, dword [edi + 0xd0]
push str.flipY
push dword [eax + esi + 0x48]
call dword [sym.imp.MSVCR110.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10003a0a
mov byte [ebp + 0xb], 1
jmp 0x10003a35
mov eax, dword [edi + 0xd0]
push str.flipN
push dword [eax + esi + 0x48]
call dword [sym.imp.MSVCR110.dll__stricmp]
add esp, 8
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + esi]
add ecx, dword [edi + 0x88]
lea edx, [edi + 0xd0]
mov eax, dword [edx]
mov dword [esi + eax + 0x44], ecx
mov eax, dword [ebp - 0x24]
add eax, 0xc
add esi, eax
mov edi, dword [edx]
mov ecx, dword [ebp - 0x28]
add ecx, 4
add edi, ecx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
movq xmm0, qword [ecx + esi + 0x4c]
movq qword [esi + eax + 0x4c], xmm0
movq xmm0, qword [ecx + esi + 0x54]
movq qword [esi + eax + 0x54], xmm0
mov eax, dword [edx]
movq xmm0, qword [ecx + esi + 0x5c]
movq qword [esi + eax + 0x5c], xmm0
movq xmm0, qword [ecx + esi + 0x64]
movq qword [esi + eax + 0x64], xmm0
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
add esi, 0x6c
mov dword [ebp - 0x28], esi
mov edi, dword [ebp - 0x30]
cmp eax, dword [edi + 0x5c]
jl 0x100038e0
mov al, byte [ebp + 0x13]
test al, al
jne 0x10003ace
cmp byte [ebp + 0xb], al
jne 0x10003ace
cmp byte [ebp - 0x15], al
je 0x10003bde
xor esi, esi
movss xmm1, dword [0x10011c40]
cmp dword [edi + 0x5c], esi
jle 0x10003b2f
xor ecx, ecx
nop
test al, al
je 0x10003af5
mov eax, dword [edx]
movss xmm0, dword [ecx + eax + 0x34]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x34], xmm0
cmp byte [ebp + 0xb], 0
je 0x10003b0c
mov eax, dword [edx]
movss xmm0, dword [ecx + eax + 0x38]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x38], xmm0
cmp byte [ebp - 0x15], 0
je 0x10003b23
mov eax, dword [edx]
movss xmm0, dword [ecx + eax + 0x3c]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x3c], xmm0
inc esi
add ecx, 0x6c
cmp esi, dword [edi + 0x5c]
mov al, byte [ebp + 0x13]
jl 0x10003ae0
xor edx, edx
cmp dword [edi + 0x58], edx
jle 0x10003bde
xor ecx, ecx
lea esp, [esp]
test al, al
je 0x10003b6e
mov eax, dword [edi + 0xc4]
movss xmm0, dword [ecx + eax + 0x24]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x24], xmm0
mov eax, dword [edi + 0xc4]
movss xmm0, dword [ecx + eax + 0x48]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x48], xmm0
cmp byte [ebp + 0xb], 0
je 0x10003b9e
mov eax, dword [edi + 0xc4]
movss xmm0, dword [ecx + eax + 0x28]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x28], xmm0
mov eax, dword [edi + 0xc4]
movss xmm0, dword [ecx + eax + 0x4c]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x4c], xmm0
cmp byte [ebp - 0x15], 0
je 0x10003bce
mov eax, dword [edi + 0xc4]
movss xmm0, dword [ecx + eax + 0x2c]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x2c], xmm0
mov eax, dword [edi + 0xc4]
movss xmm0, dword [ecx + eax + 0x50]
xorps xmm0, xmm1
movss dword [ecx + eax + 0x50], xmm0
inc edx
add ecx, 0x54
cmp edx, dword [edi + 0x58]
mov al, byte [ebp + 0x13]
jl 0x10003b40
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x10003c0a
mov ecx, dword [0x10016664]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
je 0x10003db5
cmp dword [edi + 0x60], 0
je 0x10003db5
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0x25
wait
push dword [edi + 0x60]
lea ecx, [ebp - 0x24]
call fcn.10006a50
lea eax, [edi + 0xf8]
mov dword [ebp - 0x2c], eax
push dword [edi + 0x60]
mov ecx, eax
call fcn.10005e20
lea ecx, [edi + 0xdc]
push dword [edi + 0x60]
call fcn.100062d0
wait
mov dword [ebp - 4], 0x24
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x60]
imul eax, eax, 0x68
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [edx + 8]
mov dword [ebp - 0x28], 0
cmp dword [edi + 0x60], 0
jle 0x10003d89
xor esi, esi
mov edx, dword [ebp - 0x24]
add edx, 0xc
jmp 0x10003cb0
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx - 4]
mov dword [esi + ecx], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx]
mov dword [ecx + esi + 4], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 8], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 8]
mov dword [ecx + esi + 0xc], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 0xc]
mov dword [ecx + esi + 0x10], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 0x24]
mov dword [ecx + esi + 0x14], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 0x14]
mov dword [ecx + esi + 0x20], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 0x18]
mov dword [ecx + esi + 0x24], eax
mov ecx, dword [edx - 8]
add ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xdc]
mov dword [eax + esi + 0x1c], ecx
mov ecx, dword [edx - 0xc]
add ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xdc]
mov dword [eax + esi + 0x18], ecx
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 0x10]
mov dword [ecx + esi + 0x28], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 0x20]
mov dword [ecx + esi + 0x2c], eax
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + 0x1c]
mov dword [ecx + esi + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [edx + 0x58]
mov edi, dword [ebp - 0x28]
mov dword [ecx + edi*4], eax
mov eax, edi
inc eax
mov dword [ebp - 0x28], eax
lea esi, [esi + 0x44]
lea edx, [edx + 0x68]
mov edi, dword [ebp - 0x30]
cmp eax, dword [edi + 0x60]
jl 0x10003cb0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x10003db5
mov ecx, dword [0x10016664]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [edi + 0x64]
test eax, eax
je 0x10003e1c
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea eax, [eax + eax*2]
add eax, eax
push eax
mov eax, dword [edx + 0x30]
call eax
mov edx, eax
mov dword [edi + 0xe8], edx
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x34]
call eax
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10003f2c
cmp dword [edi + 0xe8], 0
jl 0x10003f2c
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx]
mov edx, dword [edi + 0x64]
lea eax, [edx + edx*2]
add eax, eax
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call dword [esi + 8]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push dword [edi + 0xe8]
call dword [eax + 0x38]
cmp dword [edi + 0x68], 0
je 0x10004193
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x29
wait
push dword [edi + 0x68]
lea ecx, [ebp - 0x24]
call fcn.10006ba0
lea esi, [edi + 0xec]
push dword [edi + 0x68]
mov ecx, esi
call fcn.10006410
wait
mov dword [ebp - 4], 0x28
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x68]
shl eax, 3
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [edx + 8]
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x68], eax
jle 0x10003ff8
xor edx, edx
mov dword [ebp - 0x38], edx
mov ecx, dword [esi]
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + eax*8 + 4]
mov dword [edx + ecx + 4], eax
mov eax, dword [esi]
cmp dword [edx + eax + 4], 1
mov edi, dword [ebp - 0x30]
jge 0x10003f6f
mov dword [edx + eax + 4], 0
jmp 0x10003fe2
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push dword [ebp - 0x14]
call dword [eax + 0x10]
mov ecx, edi
call fcn.10004600
mov dword [ebp + 0x10], str.GEOM_ntriangle_CreateIndexBuffer_failed
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x80], vtable.std::runtime_error.0
mov byte [ebp - 4], 0x1b
push 0x10012644
lea eax, [ebp - 0x80]
push eax
call sub.MSVCR110.dll__CxxThrowException
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*8]
mov edi, dword [esi]
mov dword [edx + edi], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*8]
mov ecx, eax
sar ecx, 2
and eax, 3
add ecx, eax
lea ecx, [ecx*8 + 0x24]
mov eax, dword [esi]
mov dword [edx + eax + 8], ecx
mov ecx, dword [esi]
add ecx, edx
mov eax, dword [ecx + 4]
cdq
idiv dword [ecx + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [esi]
add esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
push dword [edi + edx*8 + 4]
push dword [edi + edx*8]
mov eax, dword [eax + 0x20]
call eax
mov dword [esi + 0x10], eax
mov edi, dword [ebp - 0x30]
lea esi, [edi + 0xec]
mov eax, dword [esi]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [edx + eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
add edx, 0x18
mov dword [ebp - 0x38], edx
cmp eax, dword [edi + 0x68]
jl 0x10003e96
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x40], 0
je 0x10004019
mov eax, dword [ebp - 0x34]
shr eax, 2
cmp eax, dword [ebp - 0x2c]
je 0x10004019
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
cmp dword [edi + 0x68], 0
jle 0x10004167
xor esi, esi
mov dword [ebp - 0x28], esi
nop
mov edx, dword [edi + 0xec]
cmp dword [esi + edx + 4], 0
je 0x10004151
mov dword [ebp - 0x34], 0
cmp dword [esi + edx + 0x10], 0xffffffff
jle 0x10004060
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push dword [esi + edx + 0x10]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx]
mov edx, dword [edi + 0xec]
mov eax, dword [ebp - 0x28]
push dword [eax + edx + 4]
push dword [ebp - 0x34]
push dword [ebp - 0x14]
call dword [esi + 8]
mov esi, dword [ebp - 0x28]
cmp dword [ebp - 0x34], 0
je 0x10004151
xor edx, edx
mov eax, dword [edi + 0xec]
cmp dword [esi + eax + 0xc], edx
jle 0x1000413f
lea ebx, [ebx]
mov eax, dword [edi + 0xec]
mov ecx, dword [esi + eax + 8]
imul ecx, edx
add ecx, dword [ebp - 0x34]
movss xmm3, dword [0x10011c40]
cmp byte [ebp + 0x13], 0
je 0x100040c9
movss xmm0, dword [ecx]
xorps xmm0, xmm3
movss dword [ecx], xmm0
cmp byte [ebp + 0xb], 0
je 0x100040dc
movss xmm0, dword [ecx + 4]
xorps xmm0, xmm3
movss dword [ecx + 4], xmm0
cmp byte [ebp - 0x15], 0
je 0x100040ef
movss xmm0, dword [ecx + 8]
xorps xmm0, xmm3
movss dword [ecx + 8], xmm0
cmp byte [ebp - 0x3c], 0
je 0x1000411c
movss xmm2, dword [ecx + 0xc]
xorps xmm2, xmm3
movss xmm1, dword [ecx + 0x10]
xorps xmm1, xmm3
movss xmm0, dword [ecx + 0x14]
xorps xmm0, xmm3
movss dword [ecx + 0xc], xmm2
movss dword [ecx + 0x10], xmm1
movss dword [ecx + 0x14], xmm0
cmp dword [ebp - 0x40], 0
je 0x1000412e
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ecx + 0x18], eax
add dword [ebp - 0x38], 4
inc edx
mov eax, dword [edi + 0xec]
cmp edx, dword [esi + eax + 0xc]
jl 0x100040a0
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edi + 0xec]
push dword [esi + eax + 0x10]
call dword [edx + 0x28]
mov edx, dword [ebp - 0x2c]
inc edx
mov dword [ebp - 0x2c], edx
add esi, 0x18
mov dword [ebp - 0x28], esi
cmp edx, dword [edi + 0x68]
jl 0x10004030
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x10004193
mov ecx, dword [0x10016664]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test byte [edi + 0x44], 2
je 0x100042cd
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push 0xc
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x14]
call dword [eax + 8]
cmp dword [ebp - 0x24], 0
je 0x100042c9
cmp dword [ebp - 0x20], 0
je 0x100042c9
cmp dword [ebp - 0x1c], 0
je 0x100042c9
mov byte [ebp - 4], 0x2b
wait
push dword [ebp - 0x24]
lea ecx, [edi + 0x1c]
call fcn.10005ce0
lea ecx, [edi + 4]
push dword [ebp - 0x20]
call fcn.10005a80
lea ecx, [edi + 0x10]
push dword [ebp - 0x1c]
call fcn.10005bb0
wait
mov dword [ebp - 4], 0x1b
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [edi + 0x1c]
push dword [ebp - 0x14]
call dword [edx + 8]
mov esi, dword [edi + 4]
mov dword [edi + 0x150], esi
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push esi
push dword [ebp - 0x14]
call dword [edx + 8]
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*8]
push eax
push dword [edi + 0x10]
push dword [ebp - 0x14]
call dword [edx + 8]
jmp 0x100042cd
and dword [edi + 0x44], 0xfffffffd
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push dword [ebp - 0x14]
call dword [eax + 0x10]
xor ecx, ecx
mov dword [ebp + 0x10], ecx
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
je 0x1000433f
jmp 0x100042f0
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
sar eax, 2
cmp ecx, eax
jae 0x1000433f
shl ecx, 2
mov eax, dword [edi + 0xa0]
mov edx, dword [eax + ecx]
add edx, dword [edi + 0x88]
mov esi, dword [edi + 0xac]
add esi, ecx
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x14]
call eax
mov dword [esi], eax
mov ecx, dword [ebp + 0x10]
inc ecx
mov dword [ebp + 0x10], ecx
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
jne 0x100042f0
mov dword [ebp - 0x3c], 0
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
je 0x10004503
mov dword [ebp - 0x2c], 0
mov esi, 0x20
mov eax, dword [ebp - 0x58]
lea ecx, [eax + 8]
mov dword [ebp + 0x10], ecx
lea edx, [eax + 0x18]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [edi + 0x54]
jge 0x10004503
mov ecx, dword [ecx - 8]
add ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xb8]
mov edx, dword [ebp - 0x2c]
mov dword [edx + eax + 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx - 4]
add ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xb8]
mov dword [edx + eax + 0x34], ecx
mov ecx, dword [edi + 0xb8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [edx + ecx], eax
mov ecx, dword [edi + 0xb8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [edx + ecx + 4], eax
mov ecx, dword [edi + 0xb8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov dword [edx + ecx + 8], eax
mov ecx, dword [edi + 0xb8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [edx + ecx + 0xc], eax
mov ecx, dword [edi + 0xb8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esi + ecx - 0x10], eax
cmp dword [edx], 0
je 0x10004417
mov edx, dword [edx + 0x10]
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov eax, dword [eax + edx*4]
mov dword [esi + ecx], eax
mov edx, dword [ebp + 8]
jmp 0x10004424
mov eax, dword [edi + 0xb8]
mov dword [esi + eax], 0xffffffff
mov ecx, dword [edi + 0xb8]
mov eax, dword [edx + 4]
mov dword [esi + ecx - 0xc], eax
cmp dword [edx + 4], 0
je 0x10004452
mov edx, dword [edx + 0x14]
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov eax, dword [eax + edx*4]
mov dword [esi + ecx + 4], eax
mov edx, dword [ebp + 8]
jmp 0x10004460
mov eax, dword [edi + 0xb8]
mov dword [esi + eax + 4], 0xffffffff
mov ecx, dword [edi + 0xb8]
mov eax, dword [edx + 8]
mov dword [esi + ecx - 8], eax
cmp dword [edx + 8], 0
je 0x1000448e
mov edx, dword [edx + 0x18]
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov eax, dword [eax + edx*4]
mov dword [esi + ecx + 8], eax
mov edx, dword [ebp + 8]
jmp 0x1000449c
mov eax, dword [edi + 0xb8]
mov dword [esi + eax + 8], 0xffffffff
mov ecx, dword [edi + 0xb8]
mov eax, dword [edx + 0xc]
mov dword [esi + ecx - 4], eax
cmp dword [edx + 0xc], 0
je 0x100044ca
mov edx, dword [edx + 0x1c]
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb8]
mov eax, dword [eax + edx*4]
mov dword [esi + ecx + 0xc], eax
mov edx, dword [ebp + 8]
jmp 0x100044d8
mov eax, dword [edi + 0xb8]
mov dword [esi + eax + 0xc], 0xffffffff
inc dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x10]
add ecx, 0x38
mov dword [ebp + 0x10], ecx
add dword [ebp - 0x2c], 0x48
add edx, 0x38
mov dword [ebp + 8], edx
add esi, 0x48
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x88]
jne 0x10004373
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x1000452f
mov ecx, dword [0x10016664]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x1000455b
mov ecx, dword [0x10016664]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10