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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
test ebx, ebx
je 0x481188
movzx eax, al
lea edi, [esp + 0x44]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call sym._SCPI_Parameter
mov edx, eax
test al, al
je 0x481070
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
lea ecx, [eax - 6]
cmp ecx, 5
ja 0x481070
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp eax, 7
je 0x4811a8
jbe 0x4810e8
cmp eax, 8
jne 0x481080
mov byte [ebx + 0x14], 2
add ebx, 8
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp], esi
mov byte [esp + 0x18], dl
call sym._SCPI_ParamToDouble
movzx edx, byte [esp + 0x18]
add esp, 0x5c
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
mov dword [esp], edi
call sym._strlen
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym._compareStr
mov edx, eax
test al, al
jne 0x4811b8
add ebp, 0x10
mov edi, dword [ebp]
test edi, edi
jne 0x481020
mov dword [esp + 4], 0xffffff7d
mov dword [esp], esi
call sym._SCPI_ErrorPush
lea esi, [esi]
nop
xor edx, edx
add esp, 0x5c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ebx + 0x14], 0xa
cmp eax, 0xa
je 0x480ff6
cmp eax, 0xb
je 0x481100
cmp eax, 9
jne 0x481070
lea edi, [esp + 0x2c]
lea ebp, [esp + 0x38]
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym._scpiLex_WhiteSpace
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym._scpiLex_CharacterProgramData
lea eax, [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._SCPI_ParamToChoice
mov byte [ebx], 1
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], eax
jmp 0x481072
cmp eax, 6
jne 0x481070
mov byte [ebx + 0x14], 0x10
jmp 0x480ff6
lea ebp, [esp + 0x38]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], dl
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sym._scpiLex_DecimalNumericProgramData
lea ecx, [esp + 0x2c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym._scpiLex_WhiteSpace
lea ecx, [esp + 0x2c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym._scpiLex_SuffixProgramData
lea eax, [ebx + 8]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._SCPI_ParamToDouble
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym._skipWhitespace
movzx edx, byte [esp + 0x18]
cmp edi, eax
je 0x4811d0
sub edi, eax
add eax, ebp
mov ebp, dword [esi + 0x74]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
test ebp, ebp
jne 0x481051
jmp 0x481058
mov dword [esp], esi
mov dword [esp + 4], 0xfffffeca
call sym._SCPI_ErrorPush
add esp, 0x5c
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov byte [ebx + 0x14], 8
jmp 0x480ff6
fld qword [ebx + 8]
fmul qword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [ebx + 0x10], eax
fstp qword [ebx + 8]
jmp 0x481072
mov dword [ebx + 0x10], 0
jmp 0x481072