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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x274
mov eax, dword [0x1009c00c]
xor eax, esp
mov dword [esp + 0x270], eax
mov al, byte [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov byte [esp + 0x2f], al
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 8]
mov esi, dword [edi + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
and ecx, 0xf
shr eax, 8
mov dword [esp + 0x4c], ecx
movzx ecx, byte [ebp + 0x14]
xor ecx, 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ecx
test al, al
je 0x100058c9
add al, 0x30
mov dword [esp + 0x38], eax
jmp 0x100058ce
mov byte [esp + 0x38], 0x20
push 0
lea ecx, [esp + 0x54]
call sym.VPCmdIF.dll_public:_void___thiscall_CVPSnsFrameA::Fill_struct__SENFRAMEDATA_A__
cmp byte [ebp + 0x10], 0
je 0x10005cb9
push dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
movsx eax, al
push eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x44]
push eax
push 0x1007ccac
lea eax, [esp + 0x90]
push 0x1f4
push eax
call fcn.10002400
add esp, 0x18
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
call fcn.10003760
test esi, esi
je 0x10006008
add edi, 0x28
nop dword [eax]
mov ecx, dword [edi - 0x10]
lea esi, [edi - 0x10]
mov eax, ecx
xor ebx, ebx
shr eax, 0xc
mov dword [esp + 0x34], eax
mov eax, ecx
shr eax, 0xd
mov dword [esp + 0x44], eax
mov eax, ecx
shr eax, 0xe
mov dword [esp + 0x38], eax
mov eax, ecx
shr eax, 0x16
mov dword [esp + 0x48], eax
cmp dword [esp + 0x4c], ebx
je 0x10005a31
mov eax, dword [edi - 4]
movq xmm0, qword [edi - 0xc]
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], eax
mov eax, ecx
and ecx, 0xc00
shr eax, 0xa
sub ecx, 0x800
movq qword [esp + 0x58], xmm0
and eax, 3
neg ecx
sbb ecx, ecx
add ecx, 4
movss xmm0, dword [eax*4 + sym.VPCmdIF.dll_float__CVPSnsFrameA::OriFractFactor]
movss dword [esp], xmm0
push ecx
push edi
lea ecx, [esp + 0x5c]
call sym.VPCmdIF.dll_public:_void___thiscall_CVPSnsFrameA::ConvertOri_short_int___int__float_
movsx eax, word [edi + 8]
lea esi, [esp + 0x50]
movss xmm1, dword [0x1008ab3c]
lea ebx, [esp + 0x70]
movss xmm2, dword [0x1008ab60]
mov ecx, dword [esp + 0x50]
movd xmm0, eax
movsx eax, word [edi + 0xa]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x70], xmm0
movd xmm0, eax
movsx eax, word [edi + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x74], xmm0
movd xmm0, eax
movsx eax, word [edi + 0xe]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x78], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x7c], xmm0
and ecx, 0x7f
lea eax, [esp + 0x80]
add ecx, dword [esp + 0x3c]
push ecx
push 0x1007cb30
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x90]
add esp, 0x10
push eax
call fcn.10003760
mov eax, dword [esp + 0x44]
and eax, 1
add eax, 0x30
push eax
mov eax, dword [esp + 0x38]
and eax, 1
add eax, 0x30
push eax
push 0x1007cb3c
lea eax, [esp + 0x8c]
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x94]
add esp, 0x14
push eax
call fcn.10003760
mov ecx, dword [esp + 0x38]
movzx eax, cl
push eax
push 0x1007cb4c
lea eax, [esp + 0x88]
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x90]
add esp, 0x10
push eax
call fcn.10003760
push dword [esp + 0x48]
lea eax, [esp + 0x84]
push 0x1007cb5c
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x90]
add esp, 0x10
push eax
call fcn.10003760
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x80]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1007cb6c
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0xa4]
add esp, 0x24
push eax
call fcn.10003760
mov eax, dword [esi]
and eax, 0xc00
cmp eax, 0x800
lea eax, [esp + 0x80]
jne 0x10005bc2
movss xmm0, dword [esi + 0x1c]
sub esp, 0x20
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esi + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1007cb88
push 0x1f4
push eax
call fcn.10002400
add esp, 0x2c
jmp 0x10005c01
movss xmm0, dword [esi + 0x18]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1007cba8
push 0x1f4
push eax
call fcn.10002400
add esp, 0x24
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.10003760
cmp byte [esp + 0x2f], 0
je 0x10005c96
lea eax, [esp + 0x80]
test ebx, ebx
jne 0x10005c3b
push 0x1007cbc4
push 0x1f4
push eax
call fcn.10002400
add esp, 0xc
jmp 0x10005c87
movss xmm0, dword [ebx + 0xc]
sub esp, 0x20
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [ebx + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebx + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebx]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1007cbd4
push 0x1f4
push eax
call fcn.10002400
add esp, 0x2c
lea eax, [esp + 0x80]
mov ecx, esi
push eax
call fcn.10003760
add edi, 0x20
sub dword [esp + 0x40], 1
jne 0x10005930
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.100417b6
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x2f], 0
mov eax, 0x1007cabc
mov ecx, 0x1007caa0
cmove eax, ecx
mov dword [0x1009dc30], eax
test esi, esi
je 0x10006008
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
add edi, 0x28
mov dword [esp + 0x48], eax
mov ecx, dword [edi - 0x10]
lea esi, [edi - 0x10]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, ecx
shr eax, 0xc
mov dword [esp + 0x30], eax
mov eax, ecx
shr eax, 0xd
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x38], eax
je 0x10005ddf
mov eax, dword [edi - 4]
movq xmm0, qword [edi - 0xc]
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], eax
mov eax, ecx
and ecx, 0xc00
shr eax, 0xa
sub ecx, 0x800
movq qword [esp + 0x58], xmm0
and eax, 3
neg ecx
sbb ecx, ecx
add ecx, 4
movss xmm0, dword [eax*4 + sym.VPCmdIF.dll_float__CVPSnsFrameA::OriFractFactor]
movss dword [esp], xmm0
push ecx
push edi
lea ecx, [esp + 0x5c]
call sym.VPCmdIF.dll_public:_void___thiscall_CVPSnsFrameA::ConvertOri_short_int___int__float_
movsx eax, word [edi + 8]
lea esi, [esp + 0x50]
movss xmm1, dword [0x1008ab3c]
movss xmm2, dword [0x1008ab60]
mov ecx, dword [esp + 0x50]
movd xmm0, eax
movsx eax, word [edi + 0xa]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x70], xmm0
movd xmm0, eax
movsx eax, word [edi + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x74], xmm0
movd xmm0, eax
movsx eax, word [edi + 0xe]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x78], xmm0
movd xmm0, eax
lea eax, [esp + 0x70]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], eax
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x44]
and ecx, 0x7f
lea eax, [esp + 0x84]
add ecx, dword [esp + 0x40]
push ecx
push dword [esp + 0x50]
push 0x1007ccc0
push 0x1f4
push eax
call fcn.10002400
add esp, 0x18
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
call fcn.10003760
mov eax, dword [esp + 0x38]
and eax, 1
add eax, 0x30
push eax
mov eax, dword [esp + 0x34]
and eax, 1
add eax, 0x30
push eax
push 0x1007cb3c
lea eax, [esp + 0x8c]
push 0x1f4
push eax
call fcn.10002400
add esp, 0x14
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
call fcn.10003760
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x80]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1007cd3c
push 0x1f4
push eax
call fcn.10002400
add esp, 0x24
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
call fcn.10003760
mov eax, dword [esi]
push dword [0x1009dc30]
and eax, 0xc00
cmp eax, 0x800
lea eax, [esp + 0x84]
jne 0x10005f16
movss xmm0, dword [esi + 0x1c]
sub esp, 0x20
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esi + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.____8.4f____8.4f____8.4f____8.4f__s
push 0x1f4
push eax
call fcn.10002400
add esp, 0x30
jmp 0x10005f55
movss xmm0, dword [esi + 0x18]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.____8.3f____8.3f____8.3f__s
push 0x1f4
push eax
call fcn.10002400
add esp, 0x28
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
call fcn.10003760
cmp byte [esp + 0x2f], 0
je 0x10005ffa
mov eax, dword [esp + 0x34]
push 0x1007caa0
test eax, eax
jne 0x10005f98
push 0x1007c504
lea eax, [esp + 0x88]
push 0x1f4
push eax
call fcn.10002400
add esp, 0x10
jmp 0x10005feb
movss xmm0, dword [eax + 0xc]
sub esp, 0x20
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [eax + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [eax + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [eax]
lea eax, [esp + 0xa4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.____8.3f_____8.3f_____8.3f_____8.3f__s
push 0x1f4
push eax
call fcn.10002400
add esp, 0x30
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
call fcn.10003760
add edi, 0x20
sub dword [esp + 0x40], 1
jne 0x10005ce7
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100417b6
mov esp, ebp
pop ebp
ret