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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x47e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], ecx
movss xmm0, dword [0x478dbc]
movss dword [ebp - 0x88], xmm0
mov eax, dword [ebp - 0x70]
movzx ecx, byte [eax + 0x99]
test ecx, ecx
jne 0x438379
jmp 0x438818
movss xmm0, dword [ebp + 0x10]
subss xmm0, dword [0x478dbc]
mov edx, dword [ebp - 0x70]
addss xmm0, dword [edx + 0x2c]
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [ebp + 0x14]
subss xmm0, dword [0x478dbc]
mov eax, dword [ebp - 0x70]
addss xmm0, dword [eax + 0x30]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebp - 0xa4]
movss dword [ebp - 8], xmm0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
mov eax, dword [ecx + 0x4c]
sub eax, dword [edx + 0x44]
cvtsi2ss xmm0, eax
movss dword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
mov eax, dword [ecx + 0x50]
sub eax, dword [edx + 0x48]
cvtsi2ss xmm0, eax
movss dword [ebp - 0x84], xmm0
mov ecx, dword [ebp - 0x70]
cvtsi2ss xmm0, dword [ecx + 0x44]
mov edx, dword [ebp - 0x70]
movss xmm1, dword [ebp - 0x80]
mulss xmm1, dword [edx + 0x34]
addss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0xe4], xmm0
mov eax, dword [ebp - 0x70]
cvtsi2ss xmm0, dword [eax + 0x48]
mov ecx, dword [ebp - 0x70]
movss xmm1, dword [ebp - 0x84]
mulss xmm1, dword [ecx + 0x38]
addss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0xec], xmm0
lea ecx, [ebp - 0x64]
call fcn.00403060
mov edx, dword [ebp - 0x70]
cvtss2sd xmm0, dword [edx + 0x24]
addsd xmm0, qword [ebp - 0xe4]
cvtss2sd xmm1, dword [ebp + 8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x64], xmm0
mov eax, dword [ebp - 0x70]
cvtss2sd xmm0, dword [eax + 0x28]
addsd xmm0, qword [ebp - 0xec]
cvtss2sd xmm1, dword [ebp + 0xc]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x5c]
call fcn.00415b20
movss xmm0, dword [ebp - 0x80]
mulss xmm0, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x80]
subss xmm1, xmm0
mov ecx, dword [ebp - 0x70]
mulss xmm1, dword [ecx + 0x34]
movss dword [ebp - 0xd8], xmm1
movss xmm0, dword [ebp - 0x84]
mulss xmm0, dword [ebp - 8]
movss xmm1, dword [ebp - 0x84]
subss xmm1, xmm0
mov edx, dword [ebp - 0x70]
mulss xmm1, dword [edx + 0x38]
movss dword [ebp - 0xdc], xmm1
mov eax, dword [ebp - 0x70]
cvtss2sd xmm0, dword [eax + 0x40]
ucomisd xmm0, qword [0x478e10]
lahf
test ah, 0x44
jnp 0x43850f
mov ecx, dword [ebp - 0x70]
movss xmm0, dword [ecx + 0x40]
movss dword [ebp - 0x88], xmm0
jmp 0x43851c
movss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], 0
jmp 0x43852e
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x70]
add ecx, 0xd0
call fcn.00416fe0
cmp dword [ebp - 0x7c], eax
jae 0x438818
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0xd0
call fcn.00416fa0
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 0x88]
call edx
movzx eax, al
cmp eax, 1
jne 0x438813
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 0x58]
call edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x74]
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x74]
mov eax, dword [edx + 0x70]
call eax
fstp dword [ebp - 0x90]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x74]
mov eax, dword [edx + 0x80]
call eax
mov byte [ebp - 0x75], al
call fcn.00436fa0
mov ecx, eax
call fcn.00436f80
mov dword [ebp - 0x8c], eax
push 0x10
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
call ecx
movzx edx, byte [ebp - 0x75]
cmp edx, 1
jne 0x438667
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0xa8], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0xac], xmm0
movss xmm0, dword [ebp - 0xa8]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [ebp - 0xac]
movss dword [ebp - 0xb8], xmm0
push 0
mov eax, dword [ebp - 0x70]
movss xmm0, dword [eax + 0x3c]
addss xmm0, dword [ebp - 0x90]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xc]
push edx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
jmp 0x4386d3
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [ebp - 0xb0]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [ebp - 0xb4]
movss dword [ebp - 0xc0], xmm0
push 0
push ecx
movss xmm0, dword [ebp - 0x90]
movss dword [esp], xmm0
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xc]
push eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
call fcn.00436fa0
mov ecx, eax
call fcn.00436f80
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
call fcn.00436fa0
mov ecx, eax
call fcn.00436f80
mov dword [ebp - 0x98], eax
movss xmm0, dword [0x478dbc]
movss dword [ebp - 0xd4], xmm0
movss xmm0, dword [0x478dbc]
movss dword [ebp - 0xd0], xmm0
movss xmm0, dword [0x478dbc]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0x88]
movss dword [ebp - 0xc8], xmm0
lea ecx, [ebp - 0xd4]
call fcn.0041f190
push eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 0x70]
movss xmm0, dword [edx + 0x28]
addss xmm0, dword [ebp - 0x68]
addss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x70]
movss xmm0, dword [eax + 0x24]
addss xmm0, dword [ebp - 0x6c]
addss xmm0, dword [ebp + 8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0xf8]
call fcn.0041f150
push eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x104]
call fcn.0041f150
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 0x78]
call edx
push eax
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
call fcn.00436fa0
mov ecx, eax
call fcn.00436f80
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
jmp 0x438525
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449aef
mov esp, ebp
pop ebp
ret 0x14