Function at 0x10005070
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 + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov byte [esp + 0x2b], al
mov dword [esp + 0x2c], ebx
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x18]
mov ecx, eax
and ecx, 0xf
shr eax, 8
mov dword [esp + 0x4c], ecx
movzx ecx, byte [ebp + 0x10]
xor ecx, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
test al, al
je 0x100050d8
add al, 0x30
mov dword [esp + 0x34], eax
jmp 0x100050dd
mov byte [esp + 0x34], 0x20
push 0
lea ecx, [esp + 0x54]
call sym.VPCmdIF.dll_public:_void___thiscall_CVPSnsFrameA::Fill_struct__SENFRAMEDATA_A__
cmp byte [ebp + 0xc], 0
je 0x100054eb
push dword [esp + 0x40]
mov eax, dword [esp + 0x38]
movsx eax, al
push eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x40]
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 0x10005842
add edi, 0x30
nop dword [eax + eax]
mov ecx, dword [edi - 0x10]
lea esi, [edi - 0x10]
mov eax, ecx
xor ebx, ebx
shr eax, 0xc
mov dword [esp + 0x30], eax
mov eax, ecx
shr eax, 0xd
mov dword [esp + 0x40], eax
mov eax, ecx
shr eax, 0xe
mov dword [esp + 0x34], eax
mov eax, ecx
shr eax, 0x16
mov dword [esp + 0x44], eax
mov eax, ecx
shr eax, 8
and eax, 3
mov dword [esp + 0x48], eax
cmp dword [esp + 0x4c], ebx
je 0x1000524d
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 + 0x38]
push ecx
push 0x1007cb30
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x90]
add esp, 0x10
push eax
call fcn.10003760
mov eax, dword [esp + 0x40]
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
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x94]
add esp, 0x14
push eax
call fcn.10003760
mov ecx, dword [esp + 0x34]
movzx eax, cl
push eax
push 0x1007cb4c
lea eax, [esp + 0x88]
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x90]
add esp, 0x10
push eax
call fcn.10003760
push dword [esp + 0x44]
lea eax, [esp + 0x84]
push 0x1007cb5c
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x90]
add esp, 0x10
push eax
call fcn.10003760
mov ecx, dword [esp + 0x2c]
push 0x1007ccbc
call fcn.10003760
movss xmm0, dword [esi + 0xc]
sub esp, 0x18
mov eax, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
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 dword [eax*4 + sym.VPCmdIF.dll_char___CVPSeuPno::szPosFmt]
lea eax, [esp + 0x9c]
push 0x1f4
push eax
call fcn.10002400
mov ecx, dword [esp + 0x50]
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 0x100053f2
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 0x10005431
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 + 0x2c]
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.10003760
cmp byte [esp + 0x2b], 0
je 0x100054c6
lea eax, [esp + 0x80]
test ebx, ebx
jne 0x1000546b
push 0x1007cbc4
push 0x1f4
push eax
call fcn.10002400
add esp, 0xc
jmp 0x100054b7
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 + 0x3c], 1
jne 0x10005140
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.100417b6
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esp + 0x2b], 0
mov eax, 0x1007cabc
mov ecx, 0x1007caa0
cmove eax, ecx
mov dword [0x1009dc30], eax
test esi, esi
je 0x10005842
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
add edi, 0x30
mov dword [esp + 0x48], eax
nop dword [eax]
mov ecx, dword [edi - 0x10]
lea esi, [edi - 0x10]
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, ecx
shr eax, 0xc
mov dword [esp + 0x34], eax
mov eax, ecx
shr eax, 0xd
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x44], eax
je 0x10005618
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 + 0x30], eax
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x40]
and ecx, 0x7f
lea eax, [esp + 0x84]
add ecx, dword [esp + 0x3c]
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 + 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
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 dword [0x1009dbd4]
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 0x10005750
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 0x1000578f
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 + 0x2b], 0
je 0x10005834
mov eax, dword [esp + 0x30]
push 0x1007caa0
test eax, eax
jne 0x100057d2
push 0x1007c504
lea eax, [esp + 0x88]
push 0x1f4
push eax
call fcn.10002400
add esp, 0x10
jmp 0x10005825
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 + 0x3c], 1
jne 0x10005520
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100417b6
mov esp, ebp
pop ebp
ret 0x10