Function at 0x42ab40
Capabilities:
Terminate process

Disassembly:
sub esp, 0x68
mov eax, dword [0x5274d0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0xc], ebp
cmp dword [ebx + 0x208c], 0
jne 0x42ab7e
push str.model_doesnt_use_3d__cant_create_3d_input__program_exit.__n
push dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00428940
add esp, 8
push 1
call dword [sym.imp.MSVCR120.dll_exit]
mov ecx, dword [ebx + 0x2094]
mov dword [esp + 0x14], ecx
cmp ecx, 1
je 0x42ab9e
cmp ecx, 2
je 0x42ab9e
cmp ecx, 3
je 0x42ab9e
push str._if_use_3d_information__bin_number_should_be_2_or_3._n
jmp 0x42ab68
push esi
mov esi, dword [ebx + 0x2090]
mov edx, 0x15
test esi, esi
mov dword [esp + 0x44], 0xc
mov eax, 0x14
mov dword [esp + 0x48], 0x10
cmovne eax, edx
mov edx, 8
mov dword [esp + 0x38], eax
push edi
cmp ecx, 2
jne 0x42abe5
mov dword [esp + 0x44], 0xc
mov dword [esp + 0x48], 0x10
jmp 0x42ac0b
cmp ecx, 3
jne 0x42abfc
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x4c], 0x10
jmp 0x42ac07
cmp ecx, 1
mov edi, 0xc
cmove edx, edi
mov dword [esp + 0x44], edx
imul edi, ecx, 0x17
add edi, eax
mov dword [esp + 0x24], edi
test esi, esi
jne 0x42ac37
cmp edi, dword [ebx]
je 0x42ac37
push str._in_preparing_3d_input__total_length_doesnt_match_with_NU._n
push dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00428940
add esp, 8
push 1
call dword [sym.imp.MSVCR120.dll_exit]
cmp esi, 1
jne 0x42ac43
mov eax, dword [ebx]
inc eax
cmp edi, eax
jne 0x42ac1c
push 0x1000
lea eax, [ebx + 0x1030]
push 0
push eax
mov dword [esp + 0x4c], eax
call sub.MSVCR120.dll_memset
mov eax, dword [ebp]
add esp, 0xc
mov ecx, ebp
call dword [eax + 0x20]
mov esi, dword [ebx + 0xc]
neg esi
mov dword [esp + 0x34], esi
cmp esi, dword [ebx + 0xc]
jg 0x42b0d6
mov eax, dword [esp + 0x80]
xorps xmm0, xmm0
lea ecx, [esi + eax]
lea edx, [ecx + ecx*4]
mov dword [esp + 0x20], ecx
shl edx, 4
mov dword [esp + 0x30], edx
mov edx, 1
sub edx, esi
sub edx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], edx
test ecx, ecx
jle 0x42b0b7
cmp ecx, dword [ebp + 0x404]
jg 0x42b0b7
xor edx, edx
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov eax, dword [ebp + 0x454]
mov ecx, dword [ebx + 0xc]
add ecx, esi
mov ebp, dword [esp + 0x10]
imul ecx, edi
mov eax, dword [eax + ebp]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x1030], eax
mov eax, dword [ebp + 0x454]
mov ecx, dword [ebx + 0xc]
add ecx, esi
mov ebp, dword [esp + 0x10]
imul ecx, edi
mov eax, dword [eax + ebp + 4]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x1034], eax
mov eax, dword [ebp + 0x454]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x10]
add ecx, esi
imul ecx, edi
mov eax, dword [eax + ebp + 8]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x1038], eax
mov eax, dword [ebp + 0x454]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x10]
add ecx, esi
imul ecx, edi
mov eax, dword [eax + ebp + 0xc]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x103c], eax
mov eax, dword [ebp + 0x454]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x10]
add ecx, esi
imul ecx, edi
mov eax, dword [eax + ebp + 0x10]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x1040], eax
mov eax, dword [ebp + 0x454]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x10]
add ecx, esi
imul ecx, edi
mov eax, dword [eax + ebp + 0x14]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x1044], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0x454]
add ecx, esi
mov ebp, dword [esp + 0x10]
imul ecx, edi
mov eax, dword [eax + ebp + 0x18]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x1048], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0x454]
add ecx, esi
mov ebp, dword [esp + 0x10]
imul ecx, edi
mov eax, dword [eax + ebp + 0x1c]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x104c], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0x454]
add ecx, esi
mov ebp, dword [esp + 0x10]
imul ecx, edi
mov eax, dword [eax + ebp + 0x20]
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [ebx + ecx*4 + 0x1050], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0x454]
add ecx, esi
imul ecx, edi
mov edi, dword [esp + 0x10]
add dword [esp + 0x10], 0x28
mov eax, dword [eax + edi + 0x24]
add ecx, edx
mov edi, dword [esp + 0x24]
add edx, 0xa
mov dword [ebx + ecx*4 + 0x1054], eax
cmp edx, 0x14
jl 0x42acc0
cmp dword [ebx + 0x2090], 0
je 0x42ae6c
mov eax, dword [ebp + 0x41c]
mov ecx, dword [esp + 0x20]
cmp dword [eax + ecx*4], 0x19
mov eax, dword [ebx + 0xc]
jle 0x42ae5c
add eax, esi
imul eax, edi
mov dword [ebx + eax*4 + 0x1080], 0x3f800000
jmp 0x42ae6c
add eax, esi
imul eax, edi
mov dword [ebx + eax*4 + 0x1080], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x42ae9e
lea edx, [eax*4]
xor eax, eax
mov ecx, edx
lea edi, [esp + 0x5c]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [esp + 0x50]
shr ecx, 2
rep stosd dword es:[edi], eax
shr edx, 2
lea edi, [esp + 0x68]
mov ecx, edx
rep stosd dword es:[edi], eax
mov ecx, 1
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x404], ecx
jl 0x42afb4
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], 0x50
mov dword [esp + 0x2c], eax
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jle 0x42af8e
cmp eax, 0x2710
jge 0x42af8e
xor edi, edi
test esi, esi
jle 0x42af8e
xor esi, esi
mov dword [esp + 0x38], esi
push dword [esp + edi*4 + 0x44]
mov eax, dword [ebp]
push ecx
push dword [esp + 0x28]
mov ecx, ebp
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x42af74
mov eax, dword [ebp]
mov ecx, ebp
mov esi, dword [esp + 0x10]
push esi
call dword [eax + 0x30]
test eax, eax
jne 0x42af1e
inc dword [esp + edi*4 + 0x5c]
jmp 0x42af36
mov eax, dword [ebp]
mov ecx, ebp
push esi
call dword [eax + 0x30]
cmp eax, 1
jne 0x42af32
inc dword [esp + edi*4 + 0x50]
jmp 0x42af36
inc dword [esp + edi*4 + 0x68]
mov esi, dword [esp + 0x18]
xor edx, edx
lea esp, [esp]
mov ecx, dword [ebx + 0xc]
lea esi, [esi + 4]
add ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x454]
add ecx, dword [esp + 0x38]
mov eax, dword [esi + eax - 4]
add ecx, edx
add ecx, dword [esp + 0x3c]
inc edx
mov dword [ebx + ecx*4 + 0x1030], eax
cmp edx, 0x14
jl 0x42af40
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
inc edi
add esi, 0x17
mov dword [esp + 0x38], esi
cmp edi, dword [esp + 0x1c]
jl 0x42aef0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ecx
add dword [esp + 0x18], 0x50
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
cmp ecx, dword [ebp + 0x404]
jle 0x42aec7
mov esi, dword [esp + 0x34]
xorps xmm0, xmm0
cmp dword [esp + 0x1c], 0
jle 0x42b0a7
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov ebp, ecx
jmp 0x42afd0
mov eax, dword [esp + ebp*4 + 0x50]
add eax, dword [esp + ebp*4 + 0x5c]
add eax, dword [esp + ebp*4 + 0x68]
mov edi, dword [esp + 0x24]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x42b08f
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov eax, dword [ebx + 0xc]
add eax, esi
imul eax, edi
add eax, dword [esp + 0x18]
add eax, ecx
inc ecx
add eax, edx
movss xmm0, dword [ebx + eax*4 + 0x1030]
divss xmm0, xmm1
movss dword [ebx + eax*4 + 0x1030], xmm0
cmp ecx, 0x14
jl 0x42aff6
movd xmm0, dword [esp + ebp*4 + 0x5c]
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x18]
add eax, esi
imul eax, edi
divss xmm0, xmm1
add eax, ecx
add eax, edx
movss dword [ebx + eax*4 + 0x1080], xmm0
movd xmm0, dword [esp + ebp*4 + 0x50]
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, esi
imul eax, edi
divss xmm0, xmm1
add eax, ecx
add eax, edx
movss dword [ebx + eax*4 + 0x1084], xmm0
movd xmm0, dword [esp + ebp*4 + 0x68]
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, esi
imul eax, edi
divss xmm0, xmm1
add eax, ecx
add eax, edx
movss dword [ebx + eax*4 + 0x1088], xmm0
xorps xmm0, xmm0
inc ebp
add ecx, 0x17
mov dword [esp + 0x18], ecx
cmp ebp, dword [esp + 0x1c]
jl 0x42afd0
mov ebp, dword [esp + 0x14]
jmp 0x42b0ab
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
inc esi
inc ecx
dec edx
mov dword [esp + 0x34], esi
add eax, 0x50
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
cmp esi, dword [ebx + 0xc]
jle 0x42aca3
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431a84
add esp, 0x68
ret 8