Function at 0x41d450
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ecx
mov eax, dword [0x48eab8]
push esi
xor esi, esi
lea edx, [esp + 4]
mov ecx, dword [eax]
push esi
push edx
push esi
push esi
push eax
call dword [ecx + 0x2c]
test eax, eax
jge 0x41d47d
push str.Error_Locking_vertex_buffer
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 5
call fcn.00426f0a
fld dword [esp + 0xc]
fcomp dword [0x4622d0]
fnstsw ax
test ah, 1
je 0x41d49a
fld dword [esp + 0xc]
fmul dword [0x462244]
jmp 0x41d4a0
fld dword [0x462248]
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, 0xbee66666
mov dword [eax], 0xbfa66666
mov dword [eax + 4], ebp
mov dword [eax + 8], esi
mov eax, dword [esp + 0xc]
push edi
mov edi, 0x3f59999a
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], edi
mov eax, dword [esp + 0x10]
mov edx, 0xbf800000
or ebx, 0xffffffff
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x10]
fld st(0)
mov dword [eax + 0x18], ebx
mov ecx, dword [esp + 0x10]
add ecx, 0x2c
mov eax, 0x3ee66666
fmul dword [0x4624dc]
mov dword [ecx], 0xbfa66666
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov ecx, dword [esp + 0x10]
add ecx, 0x2c
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], esi
fsub dword [0x4624d8]
add ecx, 0x2c
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x44], ebx
mov ecx, dword [esp + 0x10]
fst dword [ecx + 0x58]
add ecx, 0x58
fld st(1)
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x78], edi
fstp dword [ecx + 0x74]
add ecx, 0x58
fld st(1)
mov dword [ecx + 0x28], edi
fstp dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x64], esi
add ecx, 0x58
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x70], ebx
mov ecx, dword [esp + 0x10]
fst dword [ecx + 0x84]
add ecx, 0x84
fld st(1)
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xa4], eax
fstp dword [ecx + 0xa0]
add ecx, 0x84
fld st(1)
mov dword [ecx + 0x28], eax
fstp dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x90], esi
add ecx, 0x84
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov ebp, 0x42c80000
mov dword [ecx + 0x9c], ebx
mov ecx, dword [esp + 0x10]
fst dword [ecx + 0xb0]
add ecx, 0xb0
mov ebx, 0x3ecf5c28
fld st(1)
mov dword [ecx + 4], ebx
mov dword [ecx + 8], 0xc1a00000
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xd0], eax
fstp dword [ecx + 0xcc]
add ecx, 0xb0
fld st(1)
mov dword [ecx + 0x28], eax
fstp dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xbc], esi
add ecx, 0xb0
fld st(1)
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc8], esi
mov ecx, dword [esp + 0x10]
add ecx, 0xdc
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov ecx, dword [esp + 0x10]
fstp dword [ecx + 0xf8]
add ecx, 0xdc
fld st(1)
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x28], eax
fstp dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xe8], esi
add ecx, 0xdc
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xf4], esi
mov ecx, dword [esp + 0x10]
fst dword [ecx + 0x108]
add ecx, 0x108
fld st(1)
mov dword [ecx + 4], 0xbecf5c28
mov dword [ecx + 8], 0xc1a00000
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x128], edi
fstp dword [ecx + 0x124]
add ecx, 0x108
fld st(1)
mov dword [ecx + 0x28], edi
fstp dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x114], esi
add ecx, 0x108
fld st(1)
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x120], esi
mov ecx, dword [esp + 0x10]
add ecx, 0x134
mov dword [ecx], esi
mov dword [ecx + 4], 0xbecf5c28
mov dword [ecx + 8], ebp
mov ecx, dword [esp + 0x10]
fstp dword [ecx + 0x150]
add ecx, 0x134
fld st(1)
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x28], edi
fstp dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
add ecx, 0x134
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x14c], esi
mov ecx, dword [esp + 0x10]
fstp dword [ecx + 0x160]
add ecx, 0x160
mov dword [ecx + 4], ebx
mov dword [ecx + 8], 0xc1a00000
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x180], eax
fst dword [ecx + 0x17c]
fst dword [ecx + 0x184]
add ecx, 0x160
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x10]
add ecx, 0x160
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x178], esi
mov ecx, dword [esp + 0x10]
add ecx, 0x18c
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov ecx, dword [esp + 0x10]
fst dword [ecx + 0x1a8]
fstp dword [ecx + 0x1b0]
add ecx, 0x18c
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x198], esi
add eax, 0x18c
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1a4], esi
mov eax, dword [0x48eab8]
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret