Function at 0x412090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x4600b4]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.0040a4b0
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x18], esi
call fcn.0040a4b0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0040a4b0
mov edi, dword [edi + 0x78]
cmp edi, dword [0x46328c]
jg 0x4120e8
test edi, edi
js 0x4120e8
mov eax, dword [eax + 0x20]
mov edi, dword [eax + edi*4]
jmp 0x4120ea
xor edi, edi
mov eax, dword [esi]
push 1
push 0xf
push esi
mov dword [esp + 0x20], edi
call dword [eax + 0xe4]
mov eax, dword [esi]
push 5
push 0x19
push esi
call dword [eax + 0xe4]
mov eax, dword [esi]
push 0xa
push 0x18
push esi
call dword [eax + 0xe4]
test edi, edi
je 0x412309
mov eax, dword [esp + 0x10]
sub esp, 0xc
lea edi, [eax + 0x38]
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi + 0x3c], 0x3f800000
mov dword [edi + 0x28], 0x3f800000
mov dword [edi + 0x14], 0x3f800000
mov dword [edi], 0x3f800000
movss xmm0, dword [eax + 0x34]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x30]
lea eax, [esp + 0x7c]
movss dword [esp], xmm0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationYawPitchRoll]
mov esi, dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
lea eax, [esp + 0x70]
push eax
push edi
push edi
call esi
mov eax, dword [esp + 0x10]
sub esp, 0xc
movss xmm0, dword [eax + 0x28]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 0x24]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x20]
lea eax, [esp + 0xbc]
movss dword [esp], xmm0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTranslation]
lea eax, [esp + 0xb0]
push eax
push edi
push edi
call esi
mov esi, dword [esp + 0x18]
push edi
push 0x100
push esi
mov eax, dword [esi]
call dword [eax + 0xb0]
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push ecx
push esi
call dword [eax + 0xc8]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], 0
jle 0x4122f8
nop word [eax + eax]
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x40]
lea ecx, [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
movups xmmword [esp + 0x20], xmm0
push ecx
movups xmm0, xmmword [edi + 0x10]
push esi
movups xmmword [esp + 0x38], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esp + 0x58], xmm0
call dword [eax + 0xc4]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx*4]
cmp eax, dword [0x463288]
jg 0x4122c1
test eax, eax
js 0x4122c1
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x104
mov ecx, dword [eax + ecx]
jmp 0x4122c3
xor ecx, ecx
mov eax, dword [esi]
push ecx
push 0
push esi
call dword [eax + 0x104]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x10]
mov eax, dword [ecx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
add edi, 0x48
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0xc]
jl 0x412260
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push ecx
push esi
call dword [eax + 0xc4]
mov eax, dword [esi]
push 0
push 0xf
push esi
call dword [eax + 0xe4]
mov eax, dword [esi]
push 8
push 0x19
push esi
call dword [eax + 0xe4]
mov eax, dword [esi]
push 0xff
push 0x18
push esi
call dword [eax + 0xe4]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.00419f88
mov esp, ebp
pop ebp
ret